drm/amd/display: Fix incorrect DSC recompute trigger
authorFangzhi Zuo <Jerry.Zuo@amd.com>
Wed, 4 Sep 2024 20:56:45 +0000 (16:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Oct 2024 21:31:10 +0000 (17:31 -0400)
commit4641169a8c95d9efc35d2d3c55c3948f3b375ff9
tree76c4884ab7d3017a7615c50d2e5b27f00a32df09
parent3fc98044eb33f1ed11cc708253b115e4325cc167
drm/amd/display: Fix incorrect DSC recompute trigger

A stream without dsc_aux should not be eliminated from
the dsc determination. Whether it needs a dsc recompute depends on
whether its mode has changed or not. Eliminating such a no-dsc stream
from the dsc determination policy will end up with inconsistencies
in the new dc_state when compared to the current dc_state,
triggering a dsc recompute that should not have happened.

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c