Skip to content

Commit 675c1ed

Browse files
Esha Bharadwajlumag
authored andcommitted
drm/msm/dpu: add devcoredumps for cwb registers
Implement instance of snapshot function to dump new registers used for cwb Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Esha Bharadwaj <[email protected]> Signed-off-by: Jessica Zhang <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/629221/ Link: https://lore.kernel.org/r/[email protected]
1 parent d1fe88d commit 675c1ed

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
@@ -1016,6 +1016,11 @@ static void dpu_kms_mdp_snapshot(struct msm_disp_state *disp_state, struct msm_k
10161016
dpu_kms->mmio + cat->mdp[0].base, "top");
10171017
}
10181018

1019+
/* dump CWB sub-blocks HW regs info */
1020+
for (i = 0; i < cat->cwb_count; i++)
1021+
msm_disp_snapshot_add_block(disp_state, cat->cwb[i].len,
1022+
dpu_kms->mmio + cat->cwb[i].base, cat->cwb[i].name);
1023+
10191024
/* dump DSC sub-blocks HW regs info */
10201025
for (i = 0; i < cat->dsc_count; i++) {
10211026
base = dpu_kms->mmio + cat->dsc[i].base;

0 commit comments

Comments
 (0)