crocus: disable Y tiling for render targets properly.
authorDave Airlie <airlied@redhat.com>
Thu, 9 Feb 2023 02:59:53 +0000 (12:59 +1000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 10 Feb 2023 01:25:42 +0000 (01:25 +0000)
commit6043f66dd3329c92681fc4be5a1e54e522c1cb80
tree2fb5c9d8ed92d463c39c560683b8c7f068027ebc
parentdb6c374919ea16be6f9a6f96d5c9e866c62c556c
crocus: disable Y tiling for render targets properly.

The old code would disallow linear targets as well which would confuse
things with reimporting dma-bufs.

Fixes: 32728dc66e36 ("crocus: introduce main resource configuration helper.")
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21209>
src/gallium/drivers/crocus/crocus_resource.c