Skip to content

Commit

Permalink
drm/amd/display: Fix incorrect DSC recompute trigger
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fangzhi Zuo authored and Alex Deucher committed Oct 1, 2024
1 parent 3fc9804 commit 4641169
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ static bool is_dsc_need_re_compute(
continue;

aconnector = (struct amdgpu_dm_connector *) stream->dm_stream_context;
if (!aconnector || !aconnector->dsc_aux)
if (!aconnector)
continue;

stream_on_link[new_stream_on_link_num] = aconnector;
Expand Down

0 comments on commit 4641169

Please sign in to comment.