Skip to content

Commit ed6154a

Browse files
Krishna Manikandanrobclark
authored andcommitted
drm/msm/disp/dpu1: add intf offsets for SC7280 target
Interface block offsets are different for SC7280 family when compared to existing targets. These offset values are used to access the interface irq registers. This change adds proper interface offsets for SC7280 target. Signed-off-by: Krishna Manikandan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
1 parent 591e34a commit ed6154a

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

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

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
#define MDP_AD4_INTR_EN_OFF 0x41c
2626
#define MDP_AD4_INTR_CLEAR_OFF 0x424
2727
#define MDP_AD4_INTR_STATUS_OFF 0x420
28+
#define MDP_INTF_0_OFF_REV_7xxx 0x34000
29+
#define MDP_INTF_1_OFF_REV_7xxx 0x35000
30+
#define MDP_INTF_5_OFF_REV_7xxx 0x39000
2831

2932
/**
3033
* WB interrupt status bit definitions
@@ -242,7 +245,22 @@ static const struct dpu_intr_reg dpu_intr_set[] = {
242245
MDP_AD4_1_OFF + MDP_AD4_INTR_CLEAR_OFF,
243246
MDP_AD4_1_OFF + MDP_AD4_INTR_EN_OFF,
244247
MDP_AD4_1_OFF + MDP_AD4_INTR_STATUS_OFF,
245-
}
248+
},
249+
{
250+
MDP_INTF_0_OFF_REV_7xxx+INTF_INTR_CLEAR,
251+
MDP_INTF_0_OFF_REV_7xxx+INTF_INTR_EN,
252+
MDP_INTF_0_OFF_REV_7xxx+INTF_INTR_STATUS
253+
},
254+
{
255+
MDP_INTF_1_OFF_REV_7xxx+INTF_INTR_CLEAR,
256+
MDP_INTF_1_OFF_REV_7xxx+INTF_INTR_EN,
257+
MDP_INTF_1_OFF_REV_7xxx+INTF_INTR_STATUS
258+
},
259+
{
260+
MDP_INTF_5_OFF_REV_7xxx+INTF_INTR_CLEAR,
261+
MDP_INTF_5_OFF_REV_7xxx+INTF_INTR_EN,
262+
MDP_INTF_5_OFF_REV_7xxx+INTF_INTR_STATUS
263+
},
246264
};
247265

248266
/*

0 commit comments

Comments
 (0)