Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: dont wait for pipe update during medupdate/highirq

[why&how]
control flag for the wait during pipe update wait for vupdate should
be set if update type is not fast or med to prevent an invalid sleep
operation

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Ausef Yousof <Ausef.Yousof@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Ausef Yousof and committed by
Alex Deucher
895b6139 c2223b26

+1 -1
+1 -1
drivers/gpu/drm/amd/display/dc/core/dc.c
··· 4169 4169 } 4170 4170 4171 4171 if (dc->hwseq->funcs.wait_for_pipe_update_if_needed) 4172 - dc->hwseq->funcs.wait_for_pipe_update_if_needed(dc, top_pipe_to_program, update_type == UPDATE_TYPE_FAST); 4172 + dc->hwseq->funcs.wait_for_pipe_update_if_needed(dc, top_pipe_to_program, update_type < UPDATE_TYPE_FULL); 4173 4173 4174 4174 if (should_lock_all_pipes && dc->hwss.interdependent_update_lock) { 4175 4175 if (dc->hwss.subvp_pipe_control_lock)