drm/msm/dpu: fix DSC 1.2 enc subblock length
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 2 Aug 2023 18:36:55 +0000 (21:36 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 3 Aug 2023 11:17:32 +0000 (14:17 +0300)
commit57a1ca6cf73b164ff93c2a541a6fc2337fd07b20
treef32e9be0a024a1e79544adfe0ea355964bd3c009
parente550ad0e5c3d1a521413e6efb22729698a70110b
drm/msm/dpu: fix DSC 1.2 enc subblock length

Both struct dpu_dsc_sub_blks instances declare enc subblock length to be
0x100, while the actual length is 0x9c (last register having offset 0x98).
Reduce subblock length to remove the empty register space from being
dumped.

Fixes: 0d1b10c63346 ("drm/msm/dpu: add DSC 1.2 hw blocks for relevant chipsets")
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/550999/
Link: https://lore.kernel.org/r/20230802183655.4188640-2-dmitry.baryshkov@linaro.org
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c