radv: fix the CS regalloc hang workaround on GFX6 and few GFX7 chips
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 25 Feb 2022 07:44:07 +0000 (08:44 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 14 Mar 2022 07:05:28 +0000 (08:05 +0100)
commitd532da6e964e60811cbc03998cd4e2ee5f6991f5
treeb5845f7e92279f8940560693d5036df43923b82d
parent952679b944803432d7a1756905bff3872fa1b887
radv: fix the CS regalloc hang workaround on GFX6 and few GFX7 chips

RadeonSI uses a different terminology and info->blocks is actually the
number of threads, not the number of blocks (ie. info->grid).

Found by inspection.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15162>
src/amd/vulkan/radv_cmd_buffer.c