[Mesa-stable] [PATCH] r600: reduce num compute threads to 1024.
Dave Airlie
airlied at gmail.com
Wed Jul 25 03:18:23 UTC 2018
From: Dave Airlie <airlied at redhat.com>
I copied this value from radeonsi, but it was wrong, 1024
seems to be correct answer from looking at gpuinfo.
This should fix a few compute shader related hangs. (at least in CTS)
Cc: <mesa-stable at lists.freedesktop.org>
---
src/gallium/drivers/r600/r600_pipe_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/r600_pipe_common.c b/src/gallium/drivers/r600/r600_pipe_common.c
index a8ea9c4485..f7cfd0d46a 100644
--- a/src/gallium/drivers/r600/r600_pipe_common.c
+++ b/src/gallium/drivers/r600/r600_pipe_common.c
@@ -998,7 +998,7 @@ static unsigned get_max_threads_per_block(struct r600_common_screen *screen,
if (ir_type != PIPE_SHADER_IR_TGSI)
return 256;
if (screen->chip_class >= EVERGREEN)
- return 2048;
+ return 1024;
return 256;
}
--
2.17.1
More information about the mesa-stable
mailing list