asahi: Allow explicit non-LINEAR modifiers for scanout
authorAsahi Lina <lina@asahilina.net>
Wed, 5 Apr 2023 12:42:14 +0000 (21:42 +0900)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Apr 2023 03:23:04 +0000 (03:23 +0000)
commit9fcadd0c8d5265459a094d849db42c18d7cda931
tree9257c86d52ef85d5dc367d0711e75b3b579bdfac
parent534a04d557f3e2022b23821368ae06f2f746c9d8
asahi: Allow explicit non-LINEAR modifiers for scanout

The compositor is responsible for picking the right supported modifiers
for scanout. If we get no modifiers, we have to assume linear, but if we
do, just roll with it and don't attempt to force things.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22353>
src/gallium/drivers/asahi/agx_pipe.c