_DXGKARG_PREEMPTCOMMAND structure

The DXGKARG_PREEMPTCOMMAND structure describes a command that a display miniport driver must use to preempt a direct memory access (DMA) buffer that the DxgkDdiSubmitCommand function previously submitted to the hardware command execution unit.

Syntax

typedef struct _DXGKARG_PREEMPTCOMMAND {
  UINT                     PreemptionFenceId;
  UINT                     NodeOrdinal;
  UINT                     EngineOrdinal;
  DXGK_PREEMPTCOMMANDFLAGS Flags;
} DXGKARG_PREEMPTCOMMAND;

Members

PreemptionFenceId

[in] A unique identifier that the display miniport driver must patch into the fence command at the end of the DMA buffer to preempt the previously submitted DMA buffer. The display miniport driver uses the identifier in a call to the DxgkCbNotifyDpc function to inform the graphics processing unit (GPU) scheduler about the preemption at deferred-procedure-call (DPC) time.

NodeOrdinal

[in] The index of the node for the preemption request.

EngineOrdinal

[in] The index of the engine for the preemption request.

Flags

[in] A DXGK_PREEMPTCOMMANDFLAGS structure with a reserved member or a 32-bit value. No flags are currently defined for this structure.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems. Available in Windows Vista and later versions of the Windows operating systems.
Header d3dkmddi.h (include D3dkmddi.h)

See Also

DXGK_PREEMPTCOMMANDFLAGS

DxgkCbNotifyDpc

DxgkCbNotifyInterrupt

DxgkDdiCreateDevice

DxgkDdiPreemptCommand

DxgkDdiSubmitCommand