radeonsi: Fix imports with displayable DCC.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 29 Sep 2020 16:41:31 +0000 (18:41 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 30 Sep 2020 11:39:03 +0000 (11:39 +0000)
commit55e2b3424decf9f0240bb6fe0fd521e775d28d66
tree6256276ded48fa3ec9e48cd2fef7093c26fd87ca
parent636f770233543c00c319895201498c57eece6774
radeonsi: Fix imports with displayable DCC.

Otherwise we reset the displayable DCC on import.

Fixes: c6c1fa9a263 "radeonsi: Put retile map in separate buffers."
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3577
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6918>
src/gallium/drivers/radeonsi/si_texture.c