Expand Minimize

DXGK_INTERRUPT_TYPE enumeration

The DXGK_INTERRUPT_TYPE enumeration indicates the type of interrupt that the display miniport driver notifies the graphics processing unit (GPU) scheduler about.

Syntax


typedef enum _DXGK_INTERRUPT_TYPE { 
  DXGK_INTERRUPT_DMA_COMPLETED                       = 1,
  DXGK_INTERRUPT_DMA_PREEMPTED                       = 2,
  DXGK_INTERRUPT_CRTC_VSYNC                          = 3,
  DXGK_INTERRUPT_DMA_FAULTED                         = 4,
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WIN8)
  DXGK_INTERRUPT_DISPLAYONLY_VSYNC                   = 5,
  DXGK_INTERRUPT_DISPLAYONLY_PRESENT_PROGRESS        = 6,
  DXGK_INTERRUPT_CRTC_VSYNC_WITH_MULTIPLANE_OVERLAY  = 7,
#endif 
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WDDM1_3_M1)
  DXGK_INTERRUPT_MICACAST_ENCODE_CHUNK_COMPLETE      = 8

#endif } DXGK_INTERRUPT_TYPE;

Constants

DXGK_INTERRUPT_DMA_COMPLETED

A direct memory access (DMA) buffer is completed by using a fence identifier. The driver must supply the DMA buffer fence identifier in the SubmissionFenceId member of the DmaCompleted structure in the union that is contained in the DXGKARGCB_NOTIFY_INTERRUPT_DATA structure in a call to the DxgkCbNotifyInterrupt function. This DMA buffer fence identifier was assigned during a call to the driver's DxgkDdiSubmitCommand function for the latest completed DMA buffer.

DXGK_INTERRUPT_DMA_PREEMPTED

A preemption request is completed. The driver must supply the preemption fence identifier in the PreemptionFenceId member and the latest fence identifier that hardware completed (not preempted) in the LastCompletedFenceId member of the DmaPreempted structure in the union that is contained in the DXGKARGCB_NOTIFY_INTERRUPT_DATA structure in a call to the DxgkCbNotifyInterrupt function.

The GPU scheduler determines that the graphics hardware preempted all of the commands between the preemption request and the submission with the latest fence identifier.

DXGK_INTERRUPT_CRTC_VSYNC

A scan out is completed. The driver must supply information in the CrtcVsync structure in the union that is contained in the DXGKARGCB_NOTIFY_INTERRUPT_DATA structure in a call to the DxgkCbNotifyInterrupt function.

The display miniport driver notifies with this interrupt type after video hardware entered into the vertical retrace period, and the pending flip address was latched into the DAC and scanned out. The display miniport driver is not required to report this interrupt after the operating system calls the driver's DxgkDdiControlInterrupt function to disable the interrupt type; however, the driver must resume reporting after the operating system calls the driver's DxgkDdiControlInterrupt function again to enable the interrupt type.

DXGK_INTERRUPT_DMA_FAULTED

Reserved for system use. Do not use in your driver.

DXGK_INTERRUPT_DISPLAYONLY_VSYNC

In a kernel mode display-only driver, a VSync has completed.

Supported starting with Windows 8.

DXGK_INTERRUPT_DISPLAYONLY_PRESENT_PROGRESS

In a kernel mode display-only driver, a present operation has completed or has failed.

Supported starting with Windows 8.

DXGK_INTERRUPT_CRTC_VSYNC_WITH_MULTIPLANE_OVERLAY

A Vsync has completed in a display miniport driver that supports multiplane overlays.

Supported starting with Windows 8.1.

DXGK_INTERRUPT_MICACAST_ENCODE_CHUNK_COMPLETE

The GPU has completed encoding a Miracast encode chunk.

The display miniport driver can optionally provide private data that the user-mode driver can obtain using the GetNextChunkData function.

Supported starting with Windows 8.1.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

See also

DXGKARGCB_NOTIFY_INTERRUPT_DATA
DxgkCbNotifyInterrupt
DxgkDdiControlInterrupt
DxgkDdiSubmitCommand
GetNextChunkData

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.