// d3dkmddi.h
DXGKDDI_RESETFROMTIMEOUT DxgkddiResetfromtimeout;
NTSTATUS DxgkddiResetfromtimeout(
[in] IN_CONST_HANDLE hAdapter
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
hAdapter [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.
DxgkDdiResetFromTimeout returns STATUS_SUCCESS to indicate that the driver handled the call successfully; otherwise, the operating system bug checks and causes a restart.
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.