diff options
author | Dave Airlie <[email protected]> | 2018-07-25 13:14:58 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-07-31 04:55:38 +1000 |
commit | 9039cf70fa0b785f390c649486e12d6c10e9142b (patch) | |
tree | 660b1333eae97f796209d33fc39c4d714243e419 | |
parent | 0ea243dcd502e18fde160179faf90639fb012288 (diff) |
r600: reduce num compute threads to 1024.
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: <[email protected]>
(airlied: pushed because it avoids hangs)
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe_common.c b/src/gallium/drivers/r600/r600_pipe_common.c index a8ea9c44854..f7cfd0d46a6 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; } |