drm/amd/display: skip forcing odm in minimal transition
authorWenjing Liu <wenjing.liu@amd.com>
Tue, 20 Feb 2024 19:54:46 +0000 (14:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Mar 2024 17:38:13 +0000 (13:38 -0400)
commitb04c21abe21ff56f7a4da8a53c2779575192ffaf
tree8925fa21d26e0798937d77b835ef98a16b28aafb
parent0ba7ad7e42ea9d38c39d98137af3ad6a18f2ee8f
drm/amd/display: skip forcing odm in minimal transition

[why]
In minial transitions state, ODM combine shouldn't be forced as it will
make transition non seamless. The force ODM debug option is to control
the end result not the intermediate transition. So we can temporarily
disable ODM forcing when committing minimal transition state.

[how]
Backup stream ODM forcing option and clear it in minimal transition
state. Once minimal transition state is released, we will restore the
original debug option back.

Reviewed-by: Samson Tam <samson.tam@amd.com>
Acked-by: Wayne Lin <wayne.lin@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