mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 14:02:37 -04:00
drm/msm/dpu: add devcoredumps for cwb registers
Implement instance of snapshot function to dump new registers used for cwb Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Esha Bharadwaj <quic_ebharadw@quicinc.com> Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/629221/ Link: https://lore.kernel.org/r/20241216-concurrent-wb-v4-11-fe220297a7f0@quicinc.com
This commit is contained in:
committed by
Dmitry Baryshkov
parent
d1fe88dd53
commit
675c1edfa9
@@ -1016,6 +1016,11 @@ static void dpu_kms_mdp_snapshot(struct msm_disp_state *disp_state, struct msm_k
|
||||
dpu_kms->mmio + cat->mdp[0].base, "top");
|
||||
}
|
||||
|
||||
/* dump CWB sub-blocks HW regs info */
|
||||
for (i = 0; i < cat->cwb_count; i++)
|
||||
msm_disp_snapshot_add_block(disp_state, cat->cwb[i].len,
|
||||
dpu_kms->mmio + cat->cwb[i].base, cat->cwb[i].name);
|
||||
|
||||
/* dump DSC sub-blocks HW regs info */
|
||||
for (i = 0; i < cat->dsc_count; i++) {
|
||||
base = dpu_kms->mmio + cat->dsc[i].base;
|
||||
|
||||
Reference in New Issue
Block a user