turnip: Force linear mode for non-ubwc R8G8 formats
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Fri, 18 Mar 2022 17:48:40 +0000 (19:48 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 22 Mar 2022 13:47:21 +0000 (13:47 +0000)
commita70b197741f86fe16d58146d9cf6693536a10b24
treefde0968f5c7a36d183d1f2e271cd79cdfa50f23f
parent1bd8ef0c89c7a43fc07f9ba4b6e412a6d3958ae3
turnip: Force linear mode for non-ubwc R8G8 formats

Non-UBWC tiled R8G8 is probably buggy since media formats are always
either linear or UBWC. There is no simple test to reproduce the bug.
However it was observed in the wild leading to an unrecoverable hang
on a650/a660.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5926

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15465>
src/freedreno/vulkan/tu_image.c