Skip to content

Commit 0df979f

Browse files
lumagAbhinav Kumar
authored andcommitted
drm/msm/dpu: set DPU_MDP_PERIPH_0_REMOVED for sc8280xp
The SC8280XP also has a black hole at the top of MDP_TOP region. Set corresponding bit to disable access to that region. Fixes: 4a352c2 ("drm/msm/dpu: Introduce SC8280XP") Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/522207/ Link: https://lore.kernel.org/r/20230211231259.1308718-2-dmitry.baryshkov@linaro.org Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
1 parent 6153c44 commit 0df979f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ static const struct dpu_mdp_cfg sc8280xp_mdp[] = {
696696
{
697697
.name = "top_0", .id = MDP_TOP,
698698
.base = 0x0, .len = 0x494,
699-
.features = 0,
699+
.features = BIT(DPU_MDP_PERIPH_0_REMOVED),
700700
.highest_bank_bit = 2,
701701
.ubwc_swizzle = 6,
702702
.clk_ctrls[DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0},

0 commit comments

Comments
 (0)