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>
This commit is contained in:
Bas Nieuwenhuizen
2019-12-18 10:21:40 +01:00
committed by Marge Bot
parent 69decdb28a
commit a9a3108be7

View File

@@ -1286,11 +1286,11 @@ void radv_GetPhysicalDeviceProperties(
.maxFragmentCombinedOutputResources = 8, .maxFragmentCombinedOutputResources = 8,
.maxComputeSharedMemorySize = 32768, .maxComputeSharedMemorySize = 32768,
.maxComputeWorkGroupCount = { 65535, 65535, 65535 }, .maxComputeWorkGroupCount = { 65535, 65535, 65535 },
.maxComputeWorkGroupInvocations = 2048, .maxComputeWorkGroupInvocations = 1024,
.maxComputeWorkGroupSize = { .maxComputeWorkGroupSize = {
2048, 1024,
2048, 1024,
2048 1024
}, },
.subPixelPrecisionBits = 8, .subPixelPrecisionBits = 8,
.subTexelPrecisionBits = 8, .subTexelPrecisionBits = 8,