drm/amd/display: save and restore mall state when applying minimal transition
authorWenjing Liu <wenjing.liu@amd.com>
Fri, 20 Oct 2023 20:18:40 +0000 (16:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Nov 2023 17:03:30 +0000 (12:03 -0500)
commitfecbaa0a79adaa632e406ee5cffe5751e2d44fcb
tree53e3d31f27af0addf2dc8448c6e48d0f6de0e8c9
parent62893e9794c5ba237af93fa1f67cd04ca823405e
drm/amd/display: save and restore mall state when applying minimal transition

[why]
There is a case when we are switching from ODM combine to Subvp where
minimal transition based off subvp state is required. In thise case, we
need to save and restore mall state when applying minimal transition.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c