On 2023-05-23 00:45:27, Dmitry Baryshkov wrote: > While reworking interrupts masks, it was easier to keep old > MDP_INTFn_7xxx_INTR and MDP_INTFn_7xxx_TEAR_INTR symbols. Now it is time > to drop them and use unified symbol names. > > Reviewed-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> Reviewed-by: Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx> > --- > .../gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h | 4 ++-- > .../gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h | 2 +- > .../drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 4 ++-- > .../gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 4 ++-- > .../gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h | 4 ++-- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h | 13 ------------- > 6 files changed, 9 insertions(+), 22 deletions(-) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h > index 649784aa6567..df88e3f2a548 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h > @@ -161,11 +161,11 @@ static const struct dpu_intf_cfg sm8350_intf[] = { > INTF_BLK_DSI_TE("intf_1", INTF_1, 0x35000, 0x2c4, INTF_DSI, 0, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27), > - DPU_IRQ_IDX(MDP_INTF1_7xxx_TEAR_INTR, 2)), > + DPU_IRQ_IDX(MDP_INTF1_TEAR_INTR, 2)), > INTF_BLK_DSI_TE("intf_2", INTF_2, 0x36000, 0x2c4, INTF_DSI, 1, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 28), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 29), > - DPU_IRQ_IDX(MDP_INTF2_7xxx_TEAR_INTR, 2)), > + DPU_IRQ_IDX(MDP_INTF2_TEAR_INTR, 2)), > INTF_BLK("intf_3", INTF_3, 0x37000, 0x280, INTF_DP, MSM_DP_CONTROLLER_1, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 30), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 31)), > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h > index 1e87c7f4775d..4d9936d41464 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h > @@ -107,7 +107,7 @@ static const struct dpu_intf_cfg sc7280_intf[] = { > INTF_BLK_DSI_TE("intf_1", INTF_1, 0x35000, 0x2c4, INTF_DSI, 0, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27), > - DPU_IRQ_IDX(MDP_INTF1_7xxx_TEAR_INTR, 2)), > + DPU_IRQ_IDX(MDP_INTF1_TEAR_INTR, 2)), > INTF_BLK("intf_5", INTF_5, 0x39000, 0x280, INTF_DP, MSM_DP_CONTROLLER_1, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 22), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 23)), > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h > index 3082657f06f2..65fa65b954db 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h > @@ -151,11 +151,11 @@ static const struct dpu_intf_cfg sc8280xp_intf[] = { > INTF_BLK_DSI_TE("intf_1", INTF_1, 0x35000, 0x300, INTF_DSI, 0, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27), > - DPU_IRQ_IDX(MDP_INTF1_7xxx_TEAR_INTR, 2)), > + DPU_IRQ_IDX(MDP_INTF1_TEAR_INTR, 2)), > INTF_BLK_DSI_TE("intf_2", INTF_2, 0x36000, 0x300, INTF_DSI, 1, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 28), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 29), > - DPU_IRQ_IDX(MDP_INTF2_7xxx_TEAR_INTR, 2)), > + DPU_IRQ_IDX(MDP_INTF2_TEAR_INTR, 2)), > INTF_BLK("intf_3", INTF_3, 0x37000, 0x280, INTF_NONE, MSM_DP_CONTROLLER_0, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 30), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 31)), > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h > index ca5b82bc8322..b8158ed94845 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h > @@ -169,11 +169,11 @@ static const struct dpu_intf_cfg sm8450_intf[] = { > INTF_BLK_DSI_TE("intf_1", INTF_1, 0x35000, 0x300, INTF_DSI, 0, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27), > - DPU_IRQ_IDX(MDP_INTF1_7xxx_TEAR_INTR, 2)), > + DPU_IRQ_IDX(MDP_INTF1_TEAR_INTR, 2)), > INTF_BLK_DSI_TE("intf_2", INTF_2, 0x36000, 0x300, INTF_DSI, 1, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 28), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 29), > - DPU_IRQ_IDX(MDP_INTF2_7xxx_TEAR_INTR, 2)), > + DPU_IRQ_IDX(MDP_INTF2_TEAR_INTR, 2)), > INTF_BLK("intf_3", INTF_3, 0x37000, 0x280, INTF_DP, MSM_DP_CONTROLLER_1, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 30), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 31)), > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h > index dd7c87f772ea..6a12e882b5b8 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h > @@ -173,11 +173,11 @@ static const struct dpu_intf_cfg sm8550_intf[] = { > INTF_BLK_DSI_TE("intf_1", INTF_1, 0x35000, 0x300, INTF_DSI, 0, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27), > - DPU_IRQ_IDX(MDP_INTF1_7xxx_TEAR_INTR, 2)), > + DPU_IRQ_IDX(MDP_INTF1_TEAR_INTR, 2)), > INTF_BLK_DSI_TE("intf_2", INTF_2, 0x36000, 0x300, INTF_DSI, 1, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 28), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 29), > - DPU_IRQ_IDX(MDP_INTF2_7xxx_TEAR_INTR, 2)), > + DPU_IRQ_IDX(MDP_INTF2_TEAR_INTR, 2)), > INTF_BLK("intf_3", INTF_3, 0x37000, 0x280, INTF_DP, MSM_DP_CONTROLLER_1, 24, INTF_SC7280_MASK, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 30), > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 31)), > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h > index f0b92c9e3b09..4a46c0900e04 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h > @@ -39,19 +39,6 @@ enum dpu_hw_intr_reg { > intf == INTF_2 ? MDP_INTF2_TEAR_INTR : \ > -1) > > -/* compatibility */ > -#define MDP_INTF0_7xxx_INTR MDP_INTF0_INTR > -#define MDP_INTF1_7xxx_INTR MDP_INTF1_INTR > -#define MDP_INTF2_7xxx_INTR MDP_INTF2_INTR > -#define MDP_INTF3_7xxx_INTR MDP_INTF3_INTR > -#define MDP_INTF4_7xxx_INTR MDP_INTF4_INTR > -#define MDP_INTF5_7xxx_INTR MDP_INTF5_INTR > -#define MDP_INTF6_7xxx_INTR MDP_INTF6_INTR > -#define MDP_INTF7_7xxx_INTR MDP_INTF7_INTR > -#define MDP_INTF8_7xxx_INTR MDP_INTF8_INTR > -#define MDP_INTF1_7xxx_TEAR_INTR MDP_INTF1_TEAR_INTR > -#define MDP_INTF2_7xxx_TEAR_INTR MDP_INTF2_TEAR_INTR > - > #define DPU_IRQ_IDX(reg_idx, offset) (reg_idx * 32 + offset) > > /** > -- > 2.39.2 >