radeonsi/gfx9: reduce max threads per block to 1024 on gfx9+
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 25 Jul 2017 12:32:03 +0000 (14:32 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 26 Jul 2017 09:51:00 +0000 (11:51 +0200)
commita0e6b9a2db5aa5f06a4f60d270aca8344e7d8b3f
treee753a0707991b27d325306cbc3eeb9dfa37da7be
parent65fbaab0b74b6b5a2ac483d48beeefa0a29ff15e
radeonsi/gfx9: reduce max threads per block to 1024 on gfx9+

The number of supported waves per thread group has been reduced to 16
with gfx9. Trying to use 32 waves causes hangs, and barriers might
not work correctly with > 16 waves.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.c