Skip to content

Commit 895b613

Browse files
Ausef Yousofalexdeucher
authored andcommitted
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>
1 parent c2223b2 commit 895b613

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/gpu/drm/amd/display/dc/core

drivers/gpu/drm/amd/display/dc/core/dc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4169,7 +4169,7 @@ static void commit_planes_for_stream(struct dc *dc,
41694169
}
41704170

41714171
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);
41734173

41744174
if (should_lock_all_pipes && dc->hwss.interdependent_update_lock) {
41754175
if (dc->hwss.subvp_pipe_control_lock)

0 commit comments

Comments
 (0)