mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
drm/msm/dpu: Fix PP_BLK_DIPHER -> DITHER typo
SM8550 exclusively has a DITHER sub-block inside the PINGPONG block and
no other registers, hence the DITHER name of the macro and a
corresponding PINGPONG block length of zero. However, the PP_BLK_ macro
name was typo'd to DIPHER rather than DITHER.
Fixes: efcd010772 ("drm/msm/dpu: add support for SM8550")
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/534214/
Link: https://lore.kernel.org/r/20230411-dpu-intf-te-v4-5-27ce1a5ab5c6@somainline.org
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
This commit is contained in:
committed by
Abhinav Kumar
parent
85340c0256
commit
701f69183d
@@ -132,28 +132,28 @@ static const struct dpu_dspp_cfg sm8550_dspp[] = {
|
|||||||
&sm8150_dspp_sblk),
|
&sm8150_dspp_sblk),
|
||||||
};
|
};
|
||||||
static const struct dpu_pingpong_cfg sm8550_pp[] = {
|
static const struct dpu_pingpong_cfg sm8550_pp[] = {
|
||||||
PP_BLK_DIPHER("pingpong_0", PINGPONG_0, 0x69000, MERGE_3D_0, sc7280_pp_sblk,
|
PP_BLK_DITHER("pingpong_0", PINGPONG_0, 0x69000, MERGE_3D_0, sc7280_pp_sblk,
|
||||||
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8),
|
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8),
|
||||||
-1),
|
-1),
|
||||||
PP_BLK_DIPHER("pingpong_1", PINGPONG_1, 0x6a000, MERGE_3D_0, sc7280_pp_sblk,
|
PP_BLK_DITHER("pingpong_1", PINGPONG_1, 0x6a000, MERGE_3D_0, sc7280_pp_sblk,
|
||||||
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9),
|
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9),
|
||||||
-1),
|
-1),
|
||||||
PP_BLK_DIPHER("pingpong_2", PINGPONG_2, 0x6b000, MERGE_3D_1, sc7280_pp_sblk,
|
PP_BLK_DITHER("pingpong_2", PINGPONG_2, 0x6b000, MERGE_3D_1, sc7280_pp_sblk,
|
||||||
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10),
|
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10),
|
||||||
-1),
|
-1),
|
||||||
PP_BLK_DIPHER("pingpong_3", PINGPONG_3, 0x6c000, MERGE_3D_1, sc7280_pp_sblk,
|
PP_BLK_DITHER("pingpong_3", PINGPONG_3, 0x6c000, MERGE_3D_1, sc7280_pp_sblk,
|
||||||
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11),
|
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11),
|
||||||
-1),
|
-1),
|
||||||
PP_BLK_DIPHER("pingpong_4", PINGPONG_4, 0x6d000, MERGE_3D_2, sc7280_pp_sblk,
|
PP_BLK_DITHER("pingpong_4", PINGPONG_4, 0x6d000, MERGE_3D_2, sc7280_pp_sblk,
|
||||||
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 30),
|
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 30),
|
||||||
-1),
|
-1),
|
||||||
PP_BLK_DIPHER("pingpong_5", PINGPONG_5, 0x6e000, MERGE_3D_2, sc7280_pp_sblk,
|
PP_BLK_DITHER("pingpong_5", PINGPONG_5, 0x6e000, MERGE_3D_2, sc7280_pp_sblk,
|
||||||
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 31),
|
DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 31),
|
||||||
-1),
|
-1),
|
||||||
PP_BLK_DIPHER("pingpong_6", PINGPONG_6, 0x66000, MERGE_3D_3, sc7280_pp_sblk,
|
PP_BLK_DITHER("pingpong_6", PINGPONG_6, 0x66000, MERGE_3D_3, sc7280_pp_sblk,
|
||||||
-1,
|
-1,
|
||||||
-1),
|
-1),
|
||||||
PP_BLK_DIPHER("pingpong_7", PINGPONG_7, 0x66400, MERGE_3D_3, sc7280_pp_sblk,
|
PP_BLK_DITHER("pingpong_7", PINGPONG_7, 0x66400, MERGE_3D_3, sc7280_pp_sblk,
|
||||||
-1,
|
-1,
|
||||||
-1),
|
-1),
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -491,7 +491,7 @@ static const struct dpu_pingpong_sub_blks sc7280_pp_sblk = {
|
|||||||
.len = 0x20, .version = 0x20000},
|
.len = 0x20, .version = 0x20000},
|
||||||
};
|
};
|
||||||
|
|
||||||
#define PP_BLK_DIPHER(_name, _id, _base, _merge_3d, _sblk, _done, _rdptr) \
|
#define PP_BLK_DITHER(_name, _id, _base, _merge_3d, _sblk, _done, _rdptr) \
|
||||||
{\
|
{\
|
||||||
.name = _name, .id = _id, \
|
.name = _name, .id = _id, \
|
||||||
.base = _base, .len = 0, \
|
.base = _base, .len = 0, \
|
||||||
|
|||||||
Reference in New Issue
Block a user