SPRUIV7B May 2022 – September 2023 AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM625SIP
DISPC supports two active-high level sensitive interrupt output lines: DSS_INT0 and DSS_INT1. All DISPC sub-module interrupt events are fully mapped to both of these interrupts, as shown in Figure 12-475. There are two sets of IRQ aggregating registers, one set for each interrupt line, which enable fully independent monitoring and control of the interrupt events by two processor hosts at device level.
Each of the interrupt signals indicates that one or more interrupt events are detected by the hardware. Each event is independently maskable for each interrupt output.
There are two level of interrupt events. The first level is used to indicate common events and is also source for the second level of interrupts. The second level of interrupt events consists of status and enable interrupt registers for each video pipeline and each video port.
Table 12-415 describes the first level of interrupt events with associated mask and status register fields. Each interrupt event is captured in an interrupt status register. Equivalent IRQSTATUS_RAW registers exist, which are updated even if interrupts are not enabled. This allows software to get access to updated status for all interrupt events.
Interrupt Name | DSS_INT0 Interrupt Mask DSS0_COMMON_DISPC_IRQENABLE_SET |
DSS_INT0 Interrupt Status DSS0_COMMON_DISPC_IRQSTATUS |
DSS_INT1 Interrupt Mask DSS0_COMMON1_DISPC_IRQENABLE_SET |
DSS_INT1 Interrupt Status DSS0_COMMON1_DISPC_IRQSTATUS |
Description |
---|---|---|---|---|---|
VID_IRQ | [4] SET_VID_IRQ | [4] VID_IRQ | [4] SET_VID_IRQ | [4] VID_IRQ | At least one event of the VID pipeline interrupt events has occurred. See Table 12-416 for more details. |
VIDL_IRQ | [5] SET_VID_IRQ | [5] VID_IRQ | [5] SET_VID_IRQ | [5] VID_IRQ | At least one event of the VIDL1 pipeline interrupt events has occurred. See Table 12-417 for more details. |
VP1_IRQ | [0] SET_VP_IRQ | [0] VP_IRQ | [0] SET_VP_IRQ | [0] VP_IRQ | At least one event of the VP1 interrupt events has occurred. See Table 12-418 for more details. |
VP2_IRQ | [1] SET_VP_IRQ | [1] VP_IRQ | [1] SET_VP_IRQ | [1] VP_IRQ | At least one event of the VP2 interrupt events has occurred. See Table 12-419 for more details. |
Table 12-416 describes the second level of interrupts for VID pipeline with associated mask and status register bits.
Interrupt Name | DSS_INT0 Interrupt Mask DSS0_COMMON_VID_IRQENABLE_0 |
DSS_INT0 Interrupt Status DSS0_COMMON_VID_IRQSTATUS_0 |
DSS_INT1 Interrupt Mask DSS0_COMMON1_VID_IRQENABLE_0 |
DSS_INT1 Interrupt Status DSS0_COMMON1_VID_IRQSTATUS_0 |
Description |
---|---|---|---|---|---|
VIDENDWINDOW_IRQ | [1] VIDENDWINDOW_EN | [1] VIDENDWINDOW_IRQ | [1] VIDENDWINDOW_EN | [1] VIDENDWINDOW_IRQ | End of the video window: The DMA engine has fetched all the data from memory for the video for the current frame. |
VIDBUFFERUNDERFLOW_IRQ | [0] VIDBUFFERUNDERFLOW_EN | [0] VIDBUFFERUNDERFLOW_IRQ | [0] VIDBUFFERUNDERFLOW_EN | [0] VIDBUFFERUNDERFLOW_IRQ | Video DMA buffer underflow: The input video DMA buffer goes underflow. This does not necessary means that the buffer is empty (out of order refill), but simply that the required pixel is not in yet. |
VIDSAFETYREGION_IRQ | [2] SAFETYREGION_EN | [2] SAFETYREGION_IRQ | [2] SAFETYREGION_EN | [2] SAFETYREGION_IRQ | Video output MISR signature mismatch OR Video output
freeze frame detect. The MISR signature generated does not match the expected signature OR The Video output frame freeze detection has triggered. |
Table 12-417 describes the second level of interrupts for VIDL pipeline with associated mask and status register bits.
Interrupt Name | DSS_INT0 Interrupt Mask DSS0_COMMON_VID_IRQENABLE_1 |
DSS_INT0 Interrupt Status DSS0_COMMON_VID_IRQSTATUS_1 |
DSS_INT1 Interrupt Mask DSS0_COMMON1_VID_IRQENABLE_1 |
DSS_INT1 Interrupt Status DSS0_COMMON1_VID_IRQSTATUS_1 |
Description |
---|---|---|---|---|---|
VIDENDWINDOW_IRQ | [1] VIDENDWINDOW_EN | [1] VIDENDWINDOW_IRQ | [1] VIDENDWINDOW_EN | [1] VIDENDWINDOW_IRQ | End of the video window: The DMA engine has fetched all the data from memory for the video for the current frame. |
VIDBUFFERUNDERFLOW_IRQ | [0] VIDBUFFERUNDERFLOW_EN | [0] VIDBUFFERUNDERFLOW_IRQ | [0] VIDBUFFERUNDERFLOW_EN | [0] VIDBUFFERUNDERFLOW_IRQ | Video DMA buffer underflow: The input video DMA buffer goes underflow. This does not necessary means that the buffer is empty (out of order refill), but simply that the required pixel is not in yet. |
VIDSAFETYREGION_IRQ | [2] SAFETYREGION_EN | [2] SAFETYREGION_IRQ | [2] SAFETYREGION_EN | [2] SAFETYREGION_IRQ | Video output MISR signature mismatch, or video output
freeze frame detect. The MISR signature generated does not match the expected signature, or the video output frame freeze detection has triggered. |
Table 12-418 describes the second level of interrupts for VP1 output with associated mask and status register bits.
Interrupt Name | DSS_INT0 Interrupt Mask DSS0_COMMON_VP_IRQENABLE_0 |
DSS_INT0 Interrupt Status DSS0_COMMON_VP_IRQSTATUS_0 |
DSS_INT1 Interrupt Mask DSS0_COMMON1_VP_IRQENABLE_0 |
DSS_INT1 Interrupt Status DSS0_COMMON1_VP_IRQSTATUS_0 |
Description |
---|---|---|---|---|---|
VPSYNC_IRQ | [11] VPSYNC_EN | [11] VPSYNC_IRQ | [11] VPSYNC_EN | [11] VPSYNC_IRQ | Sync for VP1 output. Shadow to work copy of registers associated with VP1 has occurred. DSS_VP1_CONTROL[5] GO register bit is cleared. |
SECURITYVIOLATION_IRQ | [10] SECURITYVIOLATION_EN | [10] SECURITYVIOLATION_IRQ | [10] SECURITYVIOLATION_EN | [10] SECURITYVIOLATION_IRQ | Security violation for VP1 output. A security violation (for example, a secure video pipeline connected to non-secure VP/OVR) has occurred. |
FRAMEDONE_IRQ | [0] VPFRAMEDONE_EN | [0] VPFRAMEDONE_IRQ | [0] VPFRAMEDONE_EN | [0] VPFRAMEDONE_IRQ | Frame done for VP1 output. After disabling the VP1 output of the DISPC, the interrupt is set when the active frame related to the VP1 has completed. |
VSYNC_IRQ | [1] VPVSYNC_EN | [1] VPVSYNC_IRQ | [1] VPVSYNC_EN | [1] VPVSYNC_IRQ | VSYNC for VP1 output: VSYNC interrupt for the VP1 has occurred at the end of the frame. |
VSYNC_ODD_IRQ | [2] VPVSYNC_ODD_EN | [2] VPVSYNC_ODD_IRQ | [2] VPVSYNC_ODD_EN | [2] VPVSYNC_ODD_IRQ | VSYNC for odd field. VSYNC_ODD interrupt has occurred at the end of the frame (EVSYNC received and the field polarity is odd). |
PROGRAMMEDLINENUMBER_IRQ | [3] VPPROGRAMMEDLINENUMBER_EN | [3] VPPROGRAMMEDLINENUMBER_IRQ | [3] VPPROGRAMMEDLINENUMBER_EN | [3] VPPROGRAMMEDLINENUMBER_IRQ | Programmed line number. The VP1 has reached the user-programmed line number. |
SYNCLOST_IRQ | [4] VPSYNCLOST_EN | [4] VPSYNCLOST_IRQ | [4] VPSYNCLOST_EN | [4] VPSYNCLOST_IRQ | Synchronization lost on VP1 output: Occurs when VSYNC width/front or back porches are not wide enough to load the pipeline with data (VP1 output). |
VPSAFETYREGION_IRQ | [9-6] SAFETYREGION_EN Bit [9] = Safety Region 3 Bit [8] = Safety Region 2 Bit [7] = Safety Region 1 Bit [6] = Safety Region 0 |
[9-6] SAFETYREGION_IRQ Bit [9] = Safety Region 3 Bit [8] = Safety Region 2 Bit [7] = Safety Region 1 Bit [6] = Safety Region 0 |
[9-6] SAFETYREGION_EN Bit [9] = Safety Region 3 Bit [8] = Safety Region 2 Bit [7] = Safety Region 1 Bit [6] = Safety Region 0 |
[9-6] SAFETYREGION_IRQ Bit [9] = Safety Region 3 Bit [8] = Safety Region 2 Bit [7] = Safety Region 1 Bit [6] = Safety Region 0 |
VP1 output MISR signature mismatch, or VP1 output
freeze frame detect. The MISR signature generated does not match the expected signature, or the VP1 output frame freeze detection has triggered. |
Table 12-419 describes the second level of interrupts for VP2 output with associated mask and status register bits.
Interrupt Name | DSS_INT0 Interrupt Mask DSS0_COMMON_VP_IRQENABLE_1 |
DSS_INT0 Interrupt Status DSS0_COMMON_VP_IRQSTATUS_1 |
DSS_INT1 Interrupt Mask DSS0_COMMON1_VP_IRQENABLE_1 |
DSS_INT1 Interrupt Status DSS0_COMMON1_VP_IRQSTATUS_1 |
Description |
---|---|---|---|---|---|
VPSYNC_IRQ | [11] VPSYNC_EN | [11] VPSYNC_IRQ | [11] VPSYNC_EN | [11] VPSYNC_IRQ | Sync for VP2 output. Shadow to work copy of registers associated with VP2 has occurred. DSS_VP2_CONTROL[5] GO register bit is cleared. |
SECURITYVIOLATION_IRQ | [10] SECURITYVIOLATION_EN | [10] SECURITYVIOLATION_IRQ | [10] SECURITYVIOLATION_EN | [10] SECURITYVIOLATION_IRQ | Security violation for VP2 output. A security violation (for example, a secure video pipeline connected to non-secure VP/OVR) has occurred. |
FRAMEDONE_IRQ | [0] VPFRAMEDONE_EN | [0] VPFRAMEDONE_IRQ | [0] VPFRAMEDONE_EN | [0] VPFRAMEDONE_IRQ | Frame done for VP2 output. After disabling the VP2 output of the DISPC, the interrupt is set when the active frame related to the VP2 has completed. |
VSYNC_IRQ | [1] VPVSYNC_EN | [1] VPVSYNC_IRQ | [1] VPVSYNC_EN | [1] VPVSYNC_IRQ | VSYNC for VP2 output: VSYNC interrupt for the VP2 has occurred at the end of the frame. |
VSYNC_ODD_IRQ | [2] VPVSYNC_ODD_EN | [2] VPVSYNC_ODD_IRQ | [2] VPVSYNC_ODD_EN | [2] VPVSYNC_ODD_IRQ | VSYNC for odd field. VSYNC_ODD interrupt has occurred at the end of the frame (EVSYNC received and the field polarity is odd). |
PROGRAMMEDLINENUMBER_IRQ | [3] VPPROGRAMMEDLINENUMBER_EN | [3] VPPROGRAMMEDLINENUMBER_IRQ | [3] VPPROGRAMMEDLINENUMBER_EN | [3] VPPROGRAMMEDLINENUMBER_IRQ | Programmed line number. The VP2 has reached the user-programmed line number. |
SYNCLOST_IRQ | [4] VPSYNCLOST_EN | [4] VPSYNCLOST_IRQ | [4] VPSYNCLOST_EN | [4] VPSYNCLOST_IRQ | Synchronization lost on VP2 output: Occurs when VSYNC width/front or back porches are not wide enough to load the pipeline with data (VP2 output). |
VPSAFETYREGION_IRQ | [9-6] SAFETYREGION_EN Bit [9] = Safety Region 3 Bit [8] = Safety Region 2 Bit [7] = Safety Region 1 Bit [6] = Safety Region 0 |
[9-6] SAFETYREGION_IRQ Bit [9] = Safety Region 3 Bit [8] = Safety Region 2 Bit [7] = Safety Region 1 Bit [6] = Safety Region 0 |
[9-6] SAFETYREGION_EN Bit [9] = Safety Region 3 Bit [8] = Safety Region 2 Bit [7] = Safety Region 1 Bit [6] = Safety Region 0 |
[9-6] SAFETYREGION_IRQ Bit [9] = Safety Region 3 Bit [8] = Safety Region 2 Bit [7] = Safety Region 1 Bit [6] = Safety Region 0 |
VP2 output MISR signature mismatch, or VP2 output
freeze frame detect. The MISR signature generated does not match the expected signature, or the VP2 output frame freeze detection has triggered. |