lima: don't disable tiling if there's linear modifier in list
authorVasily Khoruzhick <anarsoul@gmail.com>
Tue, 3 Mar 2020 05:42:48 +0000 (21:42 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 3 Mar 2020 09:43:18 +0000 (09:43 +0000)
commit5d713fb66e71bec3d4c9a6324fd0b6b52040ecb2
treedc8aed0b1dd40de4b67161695bd9e43018128da0
parent46a8cab58bc8fa897c66831b17614da4e9a36706
lima: don't disable tiling if there's linear modifier in list

Instead we should disable it if tiling modifier is not here and we
already do that.

Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4029>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4029>
src/gallium/drivers/lima/lima_resource.c