diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-02-12 01:12:10 +0200 |
---|---|---|
committer | Abhinav Kumar <quic_abhinavk@quicinc.com> | 2023-02-28 14:38:00 -0800 |
commit | 0df979f4b93569dfb908d195f8e7d4c3cef4eaeb (patch) | |
tree | 0fa036423caec721d5feffd26ad19cb79d4402c0 /drivers/gpu/drm | |
parent | 6153c44392b04ff2da1e9aa82ba87da9ab9a0fc1 (diff) | |
download | linux-stable-0df979f4b93569dfb908d195f8e7d4c3cef4eaeb.tar.gz linux-stable-0df979f4b93569dfb908d195f8e7d4c3cef4eaeb.tar.bz2 linux-stable-0df979f4b93569dfb908d195f8e7d4c3cef4eaeb.zip |
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: 4a352c2fc15a ("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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c index cf053e8f081e..84d974458e0d 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c @@ -696,7 +696,7 @@ static const struct dpu_mdp_cfg sc8280xp_mdp[] = { { .name = "top_0", .id = MDP_TOP, .base = 0x0, .len = 0x494, - .features = 0, + .features = BIT(DPU_MDP_PERIPH_0_REMOVED), .highest_bank_bit = 2, .ubwc_swizzle = 6, .clk_ctrls[DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0}, |