drm/msm/dpu: Add VBIF to DPU snapshot
PATCH 1/1 drm/msm/dpu: Add VBIF to DPU snapshot
Add VBIF registers to the DPU snapshot to help with debugging.
Signed-off-by Jessica Zhang <[email protected]>
--- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +8 -0
@@ -1024,6 +1024,14 @@ static void dpu_kms_mdp_snapshot(struct msm_disp_state *disp_state, struct msm_kmsm_disp_snapshot_add_block (disp_state, cat->cdm->len, dpu_kms->mmio + cat->cdm->base, cat->cdm->name); +for (i =0 ; i < dpu_kms->catalog->vbif_count; i++) { +const struct dpu_vbif_cfg *vbif = &dpu_kms->catalog->vbif[i]; + +msm_disp_snapshot_add_block (disp_state, vbif->len, + dpu_kms->vbif[vbif->id] + vbif->base, + vbif->name); + } +pm_runtime_put_sync (&dpu_kms->pdev->dev); }
---
base-commit: 86313a9cd152330c634b25d826a281c6a002eb77
change-id: 20241122-vbif-snapshot-b6738fd73acf
Best regards,
Signature · 1 line
Jessica Zhang <[email protected]>
Quoted 7 lines · Jessica Zhang
Add VBIF registers to the DPU snapshot to help with debugging.
Signed-off-by Jessica Zhang <[email protected]>--- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 8 ++++++++ 1 file changed, 8 insertions(+)
Reviewed-by Abhinav Kumar <[email protected]>
Quoted 7 lines · Jessica Zhang
Add VBIF registers to the DPU snapshot to help with debugging.
Signed-off-by Jessica Zhang <[email protected]>--- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 8 ++++++++ 1 file changed, 8 insertions(+)
Reviewed-by Dmitry Baryshkov <[email protected]>
Signature · 2 lines
With best wishes Dmitry
Dmitry Baryshkov
AppliedQuoted 3 lines · Jessica Zhang
Add VBIF registers to the DPU snapshot to help with debugging.
Applied, thanks!
[1/1] drm/msm/dpu: Add VBIF to DPU snapshot
https://gitlab.freedesktop.org/lumag/msm/-/commit/1a40bb31fcf1
Best regards,
Signature · 1 line
Dmitry Baryshkov <[email protected]>