drm/amdgpu: Add interrupt entries for CRTC_VERTICAL_INTERRUPT0.
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Thu, 23 Mar 2017 19:33:07 +0000 (15:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:43 +0000 (23:55 -0400)
This used by DAL ISR logic for VBLANK handling.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/ivsrcid/ivsrcid_vislands30.h

index d21c6b14662f368ef8c2f3ea1a71514d068522d0..c6b6f97de9de5951b301825b6b36f9ad8171699b 100644 (file)
 #define VISLANDS30_IV_SRCID_D6_GRPH_PFLIP                          18      // 0x12     
 #define VISLANDS30_IV_EXTID_D6_GRPH_PFLIP                    0
 
+#define VISLANDS30_IV_SRCID_D1_VERTICAL_INTERRUPT0           19      // 0x13
+#define VISLANDS30_IV_EXTID_D1_VERTICAL_INTERRUPT0           7
+
+#define VISLANDS30_IV_SRCID_D1_VERTICAL_INTERRUPT1           19      // 0x13
+#define VISLANDS30_IV_EXTID_D1_VERTICAL_INTERRUPT1           8
+
+#define VISLANDS30_IV_SRCID_D1_VERTICAL_INTERRUPT2           19      // 0x13
+#define VISLANDS30_IV_EXTID_D1_VERTICAL_INTERRUPT2           9
+
+#define VISLANDS30_IV_SRCID_D1_EXT_TIMING_SYNC_LOSS          19      // 0x13
+#define VISLANDS30_IV_EXTID_D1_EXT_TIMING_SYNC_LOSS          10
+
+#define VISLANDS30_IV_SRCID_D1_EXT_TIMING_SYNC               19      // 0x13
+#define VISLANDS30_IV_EXTID_D1_EXT_TIMING_SYNC               11
+
+#define VISLANDS30_IV_SRCID_D1_EXT_TIMING_SIGNAL             19      // 0x13
+#define VISLANDS30_IV_EXTID_D1_EXT_TIMING_SIGNAL             12
+
+#define VISLANDS30_IV_SRCID_D2_VERTICAL_INTERRUPT0           20      // 0x14
+#define VISLANDS30_IV_EXTID_D2_VERTICAL_INTERRUPT0           7
+
+#define VISLANDS30_IV_SRCID_D2_VERTICAL_INTERRUPT1           20      // 0x14
+#define VISLANDS30_IV_EXTID_D2_VERTICAL_INTERRUPT1           8
+
+#define VISLANDS30_IV_SRCID_D2_VERTICAL_INTERRUPT2           20      // 0x14
+#define VISLANDS30_IV_EXTID_D2_VERTICAL_INTERRUPT2           9
+
+#define VISLANDS30_IV_SRCID_D2_EXT_TIMING_SYNC_LOSS          20      // 0x14
+#define VISLANDS30_IV_EXTID_D2_EXT_TIMING_SYNC_LOSS          10
+
+#define VISLANDS30_IV_SRCID_D2_EXT_TIMING_SYNC               20      // 0x14
+#define VISLANDS30_IV_EXTID_D2_EXT_TIMING_SYNC               11
+
+#define VISLANDS30_IV_SRCID_D2_EXT_TIMING_SIGNAL             20      // 0x14
+#define VISLANDS30_IV_EXTID_D2_EXT_TIMING_SIGNAL             12
+
+#define VISLANDS30_IV_SRCID_D3_VERTICAL_INTERRUPT0           21      // 0x15
+#define VISLANDS30_IV_EXTID_D3_VERTICAL_INTERRUPT0           7
+
+#define VISLANDS30_IV_SRCID_D3_VERTICAL_INTERRUPT1           21      // 0x15
+#define VISLANDS30_IV_EXTID_D3_VERTICAL_INTERRUPT1           8
+
+#define VISLANDS30_IV_SRCID_D3_VERTICAL_INTERRUPT2           21      // 0x15
+#define VISLANDS30_IV_EXTID_D3_VERTICAL_INTERRUPT2           9
+
+#define VISLANDS30_IV_SRCID_D3_EXT_TIMING_SYNC_LOSS          21      // 0x15
+#define VISLANDS30_IV_EXTID_D3_EXT_TIMING_SYNC_LOSS          10
+
+#define VISLANDS30_IV_SRCID_D3_EXT_TIMING_SYNC               21      // 0x15
+#define VISLANDS30_IV_EXTID_D3_EXT_TIMING_SYNC               11
+
+#define VISLANDS30_IV_SRCID_D3_EXT_TIMING_SIGNAL             21      // 0x15
+#define VISLANDS30_IV_EXTID_D3_EXT_TIMING_SIGNAL             12
+
+#define VISLANDS30_IV_SRCID_D4_VERTICAL_INTERRUPT0           22      // 0x16
+#define VISLANDS30_IV_EXTID_D4_VERTICAL_INTERRUPT0           7
+
+#define VISLANDS30_IV_SRCID_D4_VERTICAL_INTERRUPT1           22      // 0x16
+#define VISLANDS30_IV_EXTID_D4_VERTICAL_INTERRUPT1           8
+
+#define VISLANDS30_IV_SRCID_D4_VERTICAL_INTERRUPT2           22      // 0x16
+#define VISLANDS30_IV_EXTID_D4_VERTICAL_INTERRUPT2           9
+
+#define VISLANDS30_IV_SRCID_D4_EXT_TIMING_SYNC_LOSS          22      // 0x16
+#define VISLANDS30_IV_EXTID_D4_EXT_TIMING_SYNC_LOSS          10
+
+#define VISLANDS30_IV_SRCID_D4_EXT_TIMING_SYNC               22      // 0x16
+#define VISLANDS30_IV_EXTID_D4_EXT_TIMING_SYNC               11
+
+#define VISLANDS30_IV_SRCID_D4_EXT_TIMING_SIGNAL             22      // 0x16
+#define VISLANDS30_IV_EXTID_D4_EXT_TIMING_SIGNAL             12
+
+#define VISLANDS30_IV_SRCID_D5_VERTICAL_INTERRUPT0           23      // 0x17
+#define VISLANDS30_IV_EXTID_D5_VERTICAL_INTERRUPT0           7
+
+#define VISLANDS30_IV_SRCID_D5_VERTICAL_INTERRUPT1           23      // 0x17
+#define VISLANDS30_IV_EXTID_D5_VERTICAL_INTERRUPT1           8
+
+#define VISLANDS30_IV_SRCID_D5_VERTICAL_INTERRUPT2           23      // 0x17
+#define VISLANDS30_IV_EXTID_D5_VERTICAL_INTERRUPT2           9
+
+#define VISLANDS30_IV_SRCID_D5_EXT_TIMING_SYNC_LOSS          23      // 0x17
+#define VISLANDS30_IV_EXTID_D5_EXT_TIMING_SYNC_LOSS          10
+
+#define VISLANDS30_IV_SRCID_D5_EXT_TIMING_SYNC               23      // 0x17
+#define VISLANDS30_IV_EXTID_D5_EXT_TIMING_SYNC               11
+
+#define VISLANDS30_IV_SRCID_D5_EXT_TIMING_SIGNAL             23      // 0x17
+#define VISLANDS30_IV_EXTID_D5_EXT_TIMING_SIGNAL             12
+
+#define VISLANDS30_IV_SRCID_D6_VERTICAL_INTERRUPT0           24      // 0x18
+#define VISLANDS30_IV_EXTID_D6_VERTICAL_INTERRUPT0           7
+
+#define VISLANDS30_IV_SRCID_D6_VERTICAL_INTERRUPT1           24      // 0x18
+#define VISLANDS30_IV_EXTID_D6_VERTICAL_INTERRUPT1           8
+
+#define VISLANDS30_IV_SRCID_D6_VERTICAL_INTERRUPT2           24      // 0x18
+#define VISLANDS30_IV_EXTID_D6_VERTICAL_INTERRUPT2           9
+
 #define VISLANDS30_IV_SRCID_HOTPLUG_DETECT_A                       42      // 0x2a     
 #define VISLANDS30_IV_EXTID_HOTPLUG_DETECT_A                 0