Skip to content

Commit f30ea14

Browse files
lumagpull[bot]
authored andcommitted
drm/msm/dpu: fix len of sc7180 ctl blocks
Change sc7180's ctl block len to 0x1dc. Fixes: 7bdc0c4 ("msm:disp:dpu1: add support for display for SC7180 target") Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/522210/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
1 parent c89f86c commit f30ea14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -831,19 +831,19 @@ static const struct dpu_ctl_cfg sdm845_ctl[] = {
831831
static const struct dpu_ctl_cfg sc7180_ctl[] = {
832832
{
833833
.name = "ctl_0", .id = CTL_0,
834-
.base = 0x1000, .len = 0xE4,
834+
.base = 0x1000, .len = 0x1dc,
835835
.features = BIT(DPU_CTL_ACTIVE_CFG),
836836
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
837837
},
838838
{
839839
.name = "ctl_1", .id = CTL_1,
840-
.base = 0x1200, .len = 0xE4,
840+
.base = 0x1200, .len = 0x1dc,
841841
.features = BIT(DPU_CTL_ACTIVE_CFG),
842842
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
843843
},
844844
{
845845
.name = "ctl_2", .id = CTL_2,
846-
.base = 0x1400, .len = 0xE4,
846+
.base = 0x1400, .len = 0x1dc,
847847
.features = BIT(DPU_CTL_ACTIVE_CFG),
848848
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
849849
},

0 commit comments

Comments
 (0)