radv: Limit workgroup size to 1024.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 18 Dec 2019 09:21:40 +0000 (10:21 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 18 Dec 2019 20:41:18 +0000 (20:41 +0000)
commita9a3108be774aea620fa4fc726c33100d9a49add
tree4d6c5ab50ec71bcf010ee097f5ff768c6204443c
parent69decdb28a8d6b3a7169ea6729ee111765a7d386
radv: Limit workgroup size to 1024.

Fixes a hang with geekbench.

The existence of RX 580 and NAVI10 results shows that the generations
before and after this do not have the issue. (They show up on the
website). So this is likely a GFX9 only issue.

This is not something weird like LDS size since none of the shaders
seem to use LDS.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3145>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3145>
src/amd/vulkan/radv_device.c