iris: Increase the maximum grid size
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Nov 2022 20:20:30 +0000 (12:20 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Nov 2022 00:53:21 +0000 (00:53 +0000)
commit403083744de03173713d699f4cf958ba85248a74
treeac607e3c34f0def87756f561a4cf710bf48b8e6f
parentaa86369163c2d3a5420b6063fcf809a3381332bd
iris: Increase the maximum grid size

I had simply copied these values from another driver when adding initial
compute support to iris.  The actual hardware limit is UINT32_MAX (see
the GPGPU_WALKER/COMPUTE_WALKER ThreadGroupID{X,Y,Z}Dimension fields).

Thanks to Karol Herbst for noticing the unnecessarily low limit.

References: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7676
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Tested-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19826>
src/gallium/drivers/iris/iris_screen.c