drm/msm/dpu: capture snapshot on the first commit_done timeout
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 26 Feb 2024 02:28:01 +0000 (04:28 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 4 Mar 2024 09:44:03 +0000 (11:44 +0200)
commit4be445f5b6b6810baf397b2d159bd07c3573fd75
treea87f3d3139804ad7c5ce35324ff0a92cc6f99f39
parentd72a3d35b7ef5a3c0260462f130fa3dd7576aa2f
drm/msm/dpu: capture snapshot on the first commit_done timeout

In order to debug commit_done timeouts, capture the devcoredump state
when the first timeout occurs after the encoder has been enabled.

Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/579850/
Link: https://lore.kernel.org/r/20240226-fd-dpu-debug-timeout-v4-3-51eec83dde23@linaro.org
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c