mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
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 <quic_abhinavk@quicinc.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/579849/ Link: https://lore.kernel.org/r/20240226-fd-dpu-debug-timeout-v4-1-51eec83dde23@linaro.org
This commit is contained in:
parent
ee2fcc0f51
commit
f1d0b196ff
|
|
@ -502,7 +502,7 @@ static int dpu_encoder_phys_vid_wait_for_commit_done(
|
|||
(hw_ctl->ops.get_flush_register(hw_ctl) == 0),
|
||||
msecs_to_jiffies(50));
|
||||
if (ret <= 0) {
|
||||
DPU_ERROR("vblank timeout\n");
|
||||
DPU_ERROR("vblank timeout: %x\n", hw_ctl->ops.get_flush_register(hw_ctl));
|
||||
return -ETIMEDOUT;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user