Skip to content

Commit 47ea050

Browse files
Fangzhi ZuoSasha Levin
authored andcommitted
drm/amd/display: Fix incorrect DSC recompute trigger
[ Upstream commit 4641169 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent cc2d7bc commit 47ea050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ static bool is_dsc_need_re_compute(
12361236
continue;
12371237

12381238
aconnector = (struct amdgpu_dm_connector *) stream->dm_stream_context;
1239-
if (!aconnector || !aconnector->dsc_aux)
1239+
if (!aconnector)
12401240
continue;
12411241

12421242
/*

0 commit comments

Comments
 (0)