Skip to content

Commit 7e4526d

Browse files
Krishna Manikandanrobclark
authored andcommitted
drm/msm/disp/dpu1: add vsync and underrun irqs for INTF_5
INTF_5 is used by EDP panel in SC7280 target. Add vsync and underrun irqs needed by INTF_5 to dpu irq map. Signed-off-by: Krishna Manikandan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
1 parent a8eca8a commit 7e4526d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,12 @@
7272
#define DPU_INTR_INTF_1_UNDERRUN BIT(26)
7373
#define DPU_INTR_INTF_2_UNDERRUN BIT(28)
7474
#define DPU_INTR_INTF_3_UNDERRUN BIT(30)
75+
#define DPU_INTR_INTF_5_UNDERRUN BIT(22)
7576
#define DPU_INTR_INTF_0_VSYNC BIT(25)
7677
#define DPU_INTR_INTF_1_VSYNC BIT(27)
7778
#define DPU_INTR_INTF_2_VSYNC BIT(29)
7879
#define DPU_INTR_INTF_3_VSYNC BIT(31)
80+
#define DPU_INTR_INTF_5_VSYNC BIT(23)
7981

8082
/**
8183
* Pingpong Secondary interrupt status bit definitions
@@ -326,7 +328,10 @@ static const struct dpu_irq_type dpu_irq_map[] = {
326328
{ DPU_IRQ_TYPE_INTF_VSYNC, INTF_2, DPU_INTR_INTF_2_VSYNC, 0},
327329
{ DPU_IRQ_TYPE_INTF_UNDER_RUN, INTF_3, DPU_INTR_INTF_3_UNDERRUN, 0},
328330
{ DPU_IRQ_TYPE_INTF_VSYNC, INTF_3, DPU_INTR_INTF_3_VSYNC, 0},
329-
/* irq_idx:32-63 */
331+
/* irq_idx:32-33 */
332+
{ DPU_IRQ_TYPE_INTF_UNDER_RUN, INTF_5, DPU_INTR_INTF_5_UNDERRUN, 0},
333+
{ DPU_IRQ_TYPE_INTF_VSYNC, INTF_5, DPU_INTR_INTF_5_VSYNC, 0},
334+
/* irq_idx:34-63 */
330335
{ DPU_IRQ_TYPE_RESERVED, 0, 0, 0},
331336
{ DPU_IRQ_TYPE_RESERVED, 0, 0, 0},
332337
{ DPU_IRQ_TYPE_RESERVED, 0, 0, 0},

0 commit comments

Comments
 (0)