Skip to content

Commit 3a90543

Browse files
Abhinav Kumarrobclark
authored andcommitted
drm/msm/dpu: add layer mixer register dump to dpu snapshot
Add the missing layer mixer register dump information to dpu snapshot to assist debugging. Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Abhinav Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
1 parent 2672e4e commit 3a90543

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,11 @@ static void dpu_kms_mdp_snapshot(struct msm_disp_state *disp_state, struct msm_k
920920
msm_disp_snapshot_add_block(disp_state, cat->sspp[i].len,
921921
dpu_kms->mmio + cat->sspp[i].base, "sspp_%d", i);
922922

923+
/* dump LM sub-blocks HW regs info */
924+
for (i = 0; i < cat->mixer_count; i++)
925+
msm_disp_snapshot_add_block(disp_state, cat->mixer[i].len,
926+
dpu_kms->mmio + cat->mixer[i].base, "lm_%d", i);
927+
923928
msm_disp_snapshot_add_block(disp_state, top->hw.length,
924929
dpu_kms->mmio + top->hw.blk_off, "top");
925930

0 commit comments

Comments
 (0)