Skip to content

Commit f1d0b19

Browse files
committed
drm/msm/dpu: make "vblank timeout" more useful
We have several reports of vblank timeout messages. However after some debugging it was found that there might be different causes to that. To allow us to identify the DPU block that gets stuck, include the actual CTL_FLUSH value into the timeout message. Reviewed-by: Abhinav Kumar <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/579849/ Link: https://lore.kernel.org/r/[email protected]
1 parent ee2fcc0 commit f1d0b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ static int dpu_encoder_phys_vid_wait_for_commit_done(
502502
(hw_ctl->ops.get_flush_register(hw_ctl) == 0),
503503
msecs_to_jiffies(50));
504504
if (ret <= 0) {
505-
DPU_ERROR("vblank timeout\n");
505+
DPU_ERROR("vblank timeout: %x\n", hw_ctl->ops.get_flush_register(hw_ctl));
506506
return -ETIMEDOUT;
507507
}
508508

0 commit comments

Comments
 (0)