]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/msm/dpu: Add INTF_5 interrupts
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Feb 2022 04:33:52 +0000 (20:33 -0800)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 18 Feb 2022 17:15:11 +0000 (20:15 +0300)
SC8180x has the eDP controller wired up to INTF_5, so add the interrupt
register block for this interface to the list.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220215043353.1256754-1-bjorn.andersson@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h

index 27073fd49fee0e1d59a1e5a3afff029f2968239c..c515b7cf922c8515753174429bef61c228dc872a 100644 (file)
@@ -23,6 +23,7 @@
 #define MDP_INTF_2_OFF                 0x6B000
 #define MDP_INTF_3_OFF                 0x6B800
 #define MDP_INTF_4_OFF                 0x6C000
+#define MDP_INTF_5_OFF                 0x6C800
 #define MDP_AD4_0_OFF                  0x7C000
 #define MDP_AD4_1_OFF                  0x7D000
 #define MDP_AD4_INTR_EN_OFF            0x41c
@@ -93,6 +94,11 @@ static const struct dpu_intr_reg dpu_intr_set[] = {
                MDP_INTF_4_OFF+INTF_INTR_EN,
                MDP_INTF_4_OFF+INTF_INTR_STATUS
        },
+       {
+               MDP_INTF_5_OFF+INTF_INTR_CLEAR,
+               MDP_INTF_5_OFF+INTF_INTR_EN,
+               MDP_INTF_5_OFF+INTF_INTR_STATUS
+       },
        {
                MDP_AD4_0_OFF + MDP_AD4_INTR_CLEAR_OFF,
                MDP_AD4_0_OFF + MDP_AD4_INTR_EN_OFF,
index 1ab75cccd1456b0fc85bef6fce5a3ae6af1fb6bb..37379966d8ec586d2701be87b0a053c571bb1fce 100644 (file)
@@ -22,6 +22,7 @@ enum dpu_hw_intr_reg {
        MDP_INTF2_INTR,
        MDP_INTF3_INTR,
        MDP_INTF4_INTR,
+       MDP_INTF5_INTR,
        MDP_AD4_0_INTR,
        MDP_AD4_1_INTR,
        MDP_INTF0_7xxx_INTR,