radeonsi: Do not try to disable displayable DCC with modifiers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 3 Aug 2020 01:55:48 +0000 (03:55 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 13 Nov 2020 03:27:28 +0000 (03:27 +0000)
commit605140e4016108b6ac1ce2ca5b55baf8a1ac418f
treef21ff9ba9fd085486a6e121dc1941fb7025ad085
parent23b59b6f87c6bffca62c2c78cab9881d8ae75425
radeonsi: Do not try to disable displayable DCC with modifiers.

We do flushing on glFlush etc., so we don't need explicit flush,
but we still need to avoid frontbuffer rendering.

For modifiers there was logic put in apps that basically prevent
frontbuffer rendering if multipe planes are involved.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6176>
src/gallium/drivers/radeonsi/si_texture.c