radv: Disable coherent L2 optimization on cards with noncoherent L2.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 1 Nov 2021 15:39:50 +0000 (16:39 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 1 Nov 2021 23:48:43 +0000 (23:48 +0000)
commitd66514aacccec28fa66afd58bc19580008e8078e
tree48ea2e2a66c90710c2d74babf79374c10092b28c
parent65afcddbf1892a74397cb8ba0d29618544fb507a
radv: Disable coherent L2 optimization on cards with noncoherent L2.

With high likelihood we are forgetting to set the noncoherent bits
somewhere but I don't have the HW to debug. To avoid user pain
disable this optimization on these GPUs.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5505
Fixes: fd8210f27ed ("radv: Try to do a better job of dealing with L2 coherent images.")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13620>
src/amd/vulkan/radv_cmd_buffer.c