drm/amd/display: do not skip ODM minimal transition based on new state
authorWenjing Liu <wenjing.liu@amd.com>
Thu, 24 Aug 2023 18:21:11 +0000 (14:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Sep 2023 21:18:36 +0000 (17:18 -0400)
commit18aa989ae191e392529370f194bb7b1558846af8
treec108d349613d3ee90a71d51de5cfccd12c212df4
parent3a2c0eccab9ade6d2c977113ba637a10bcfcd612
drm/amd/display: do not skip ODM minimal transition based on new state

[why]
During 8k video plane resizing we could transition from MPC combine mode
back to ODM combine 2:1 + 8k video plane. In this transition minimal
transition state is based on new state with ODM combine enabled.
We are skipping this and it causes corruption because we have to reassign
a current DPP pipe to a different MPC blending tree which is not supported
seamlessly.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Stylon Wang <stylon.wang@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