Skip to content

Commit 57a1ca6

Browse files
committed
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: 0d1b10c ("drm/msm/dpu: add DSC 1.2 hw blocks for relevant chipsets") Reviewed-by: Abhinav Kumar <[email protected]> Reviewed-by: Marijn Suijten <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/550999/ Link: https://lore.kernel.org/r/[email protected]
1 parent e550ad0 commit 57a1ca6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,12 +456,12 @@ static const struct dpu_pingpong_sub_blks sc7280_pp_sblk = {
456456
* DSC sub blocks config
457457
*************************************************************/
458458
static const struct dpu_dsc_sub_blks dsc_sblk_0 = {
459-
.enc = {.name = "enc", .base = 0x100, .len = 0x100},
459+
.enc = {.name = "enc", .base = 0x100, .len = 0x9c},
460460
.ctl = {.name = "ctl", .base = 0xF00, .len = 0x10},
461461
};
462462

463463
static const struct dpu_dsc_sub_blks dsc_sblk_1 = {
464-
.enc = {.name = "enc", .base = 0x200, .len = 0x100},
464+
.enc = {.name = "enc", .base = 0x200, .len = 0x9c},
465465
.ctl = {.name = "ctl", .base = 0xF80, .len = 0x10},
466466
};
467467

0 commit comments

Comments
 (0)