radv: update binning settings to work around GPU hangs
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 10 Apr 2023 15:08:21 +0000 (17:08 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Apr 2023 18:12:52 +0000 (18:12 +0000)
commit74ab9401561c5d5bef62330c0b1264f42bfe52da
treeb119b4508d65ebd33cf488fae6fb093c2027011d
parentd99211b22c0b419e2ad414f2e09bfe43f656db4b
radv: update binning settings to work around GPU hangs

Ported from RadeonSI, but it seems PAL always use 1 for both
parameters as well.

This should fix random GPU hangs with small chips (eg. NAVI24, GFX1103),
though all chips might have been affected.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8046
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8597
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8683
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22528>
src/amd/vulkan/radv_physical_device.c