Expand Minimize

DxgkDdiResetFromTimeout routine

The DxgkDdiResetFromTimeout function resets the graphics processing unit (GPU) after a hardware timeout occurs and guarantees that the GPU is not writing or reading any memory by the time that DxgkDdiResetFromTimeout returns.

Syntax


PDXGKDDI_RESETFROMTIMEOUT DxgkDdiResetFromTimeout;

NTSTATUS APIENTRY DxgkDdiResetFromTimeout(
  _In_  const HANDLE hAdapter
)
{ ... }

Parameters

hAdapter [in]

[in] A handle to a context block that is associated with a display adapter. The display miniport driver previously provided this handle to the Microsoft DirectX graphics kernel subsystem in the MiniportDeviceContext output parameter of the DxgkDdiAddDevice function.

Return value

DxgkDdiResetFromTimeout returns STATUS_SUCCESS to indicate that the driver handled the call successfully; otherwise, the operating system bug checks and causes a restart.

Remarks

The GPU scheduler calls DxgkDdiResetFromTimeout when it detects that a hardware time-out occurred. The time-out is typically a delayed response to a preempt request. DxgkDdiResetFromTimeout should reset the GPU.

For more information about time-outs in this situation, see Thread Synchronization and TDR.

DxgkDdiResetFromTimeout should be made pageable.

Requirements

Version

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

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

See also

DxgkDdiAddDevice
DxgkDdiReleaseSwizzlingRange
DxgkDdiRestartFromTimeout

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft