Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/dpu: Add DSC hardware blocks to register snapshot

Add missing DSC hardware block register ranges to the snapshot utility
to include them in dmesg (on MSM_DISP_SNAPSHOT_DUMP_IN_CONSOLE) and the
kms debugfs file.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/520175/
Link: https://lore.kernel.org/r/20230125101412.216924-1-marijn.suijten@somainline.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

authored by

Marijn Suijten and committed by
Dmitry Baryshkov
a7efe60e 13fcfcb2

+5
+5
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
··· 937 937 dpu_kms->mmio + cat->mdp[0].base, "top"); 938 938 } 939 939 940 + /* dump DSC sub-blocks HW regs info */ 941 + for (i = 0; i < cat->dsc_count; i++) 942 + msm_disp_snapshot_add_block(disp_state, cat->dsc[i].len, 943 + dpu_kms->mmio + cat->dsc[i].base, "dsc_%d", i); 944 + 940 945 pm_runtime_put_sync(&dpu_kms->pdev->dev); 941 946 } 942 947