]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/amd/display: dont wait for pipe update during medupdate/highirq
authorAusef Yousof <Ausef.Yousof@amd.com>
Thu, 21 Aug 2025 22:11:54 +0000 (18:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Sep 2025 21:38:41 +0000 (17:38 -0400)
[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>
drivers/gpu/drm/amd/display/dc/core/dc.c

index 261b7d43e91d479114483dcb2ace2eb42017a409..5963019d1e742537da096fb8b065ac2a0a3d1416 100644 (file)
@@ -4169,7 +4169,7 @@ static void commit_planes_for_stream(struct dc *dc,
        }
 
        if (dc->hwseq->funcs.wait_for_pipe_update_if_needed)
-               dc->hwseq->funcs.wait_for_pipe_update_if_needed(dc, top_pipe_to_program, update_type == UPDATE_TYPE_FAST);
+               dc->hwseq->funcs.wait_for_pipe_update_if_needed(dc, top_pipe_to_program, update_type < UPDATE_TYPE_FULL);
 
        if (should_lock_all_pipes && dc->hwss.interdependent_update_lock) {
                if (dc->hwss.subvp_pipe_control_lock)