DXGKARG_PREEMPTCOMMAND structure (d3dkmddi.h)

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 {
  [in] UINT                     PreemptionFenceId;
  [in] UINT                     NodeOrdinal;
  [in] UINT                     EngineOrdinal;
  [in] DXGK_PREEMPTCOMMANDFLAGS Flags;
} DXGKARG_PREEMPTCOMMAND;

Members

[in] PreemptionFenceId

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.

[in] NodeOrdinal

The index of the node for the preemption request.

[in] EngineOrdinal

The index of the engine for the preemption request.

[in] Flags

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

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmddi.h (include D3dkmddi.h)

See also

DXGK_PREEMPTCOMMANDFLAGS

DxgkCbNotifyDpc

DxgkCbNotifyInterrupt

DxgkDdiCreateDevice

DxgkDdiPreemptCommand

DxgkDdiSubmitCommand