Skip to content

Commit 341fb24

Browse files
Abhinav Kumarlumag
authored andcommitted
drm/msm/dpu: add cdm blocks to dpu snapshot
Now that CDM block support has been added to DPU lets also add its entry to the DPU snapshot to help debugging. Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/571835/ Link: https://lore.kernel.org/r/20231212205254.12422-16-quic_abhinavk@quicinc.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
1 parent 8c16b98 commit 341fb24

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,10 @@ static void dpu_kms_mdp_snapshot(struct msm_disp_state *disp_state, struct msm_k
944944
}
945945
}
946946

947+
if (cat->cdm)
948+
msm_disp_snapshot_add_block(disp_state, cat->cdm->len,
949+
dpu_kms->mmio + cat->cdm->base, cat->cdm->name);
950+
947951
pm_runtime_put_sync(&dpu_kms->pdev->dev);
948952
}
949953

0 commit comments

Comments
 (0)