intel: Delete hardcoded devinfo->urb.size values for Gen7+ (sans DG1).
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 8 May 2020 19:51:11 +0000 (12:51 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 11 May 2020 16:40:56 +0000 (09:40 -0700)
commitab16bff97d75301b56530c2c9a410960e2de8bc8
tree9e6a02db780b1c369b56b550de1e0a218b2cfce1
parent0bea2a13212be10982e14617002a3ff851b84717
intel: Delete hardcoded devinfo->urb.size values for Gen7+ (sans DG1).

On all Gen7+ platforms except DG1, the URB is a subsection of the
configurable L3 cache, and so the size can vary.  The size listed
in the documentation on those platforms is an "example size", picked
by calculating it based on an arbitrarily chosen L3 config.

Hardcoding a value for those platforms provides no value and only
confuses people trying to fill out these tables when doing hardware
enabling.  anv and iris never use this field.  i965 uses it to
initialize brw->urb.size, but then updates that in update_urb_size()
to be the correct value, so the initial value doesn't matter.

Delete the values for Gen7+ and update the comment accordingly.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4969>
src/intel/dev/gen_device_info.c
src/intel/dev/gen_device_info.h
src/intel/dev/gen_device_info_test.c