Sottosistema kernel della grafica DirectX

This article describes system-supplied, kernel-mode interfaces provided through the DirectX graphics kernel subsystem (Dxgkrnl.sys).

  • The display port driver is a part of Dxgkrnl.sys.
  • Il driver miniport display in modalità kernel (KMD) viene implementato dai produttori di hardware grafico.

For descriptions of other functions implemented by Dxgkrnl, see articles such as:

Oggetti e Interfacce VidPN

Supporto della rotazione Path-Independent

Recupero di modalità di destinazione di monitoraggio aggiuntive

Dxgkrnl Interface

A KMD's DriverEntry function calls the operating system's DxgkInitialize function, which causes Dxgkrnl to be loaded and initialized.

Once loaded, Dxgkrnl.sys provides the KMD with pointers to its functions by passing a DXGKRNL_INTERFACE structure to the KMD's DxgkDdiStartDevice function. Dxgkrnl's function pointers have a DxgkCb prefix.

The DXGKRNL_INTERFACE structure also contains a handle to a particular display adapter. Il driver della porta di visualizzazione genera questo handle. The KMD passes this handle as an argument each time it calls any of the functions in DXGKRNL_INTERFACE.

Visualizzare le interfacce del driver di porta

The KMD gets the display port driver's interfaces by calling Dxgkrnl's DxgkCbQueryServices function with a DXGK_SERVICES value that specifies the type of interface that the KMD wants. I servizi forniti dal driver della porta di visualizzazione includono servizi AGP (Porta grafica accelerata), servizi di report di debug, servizi di operazioni temporizzate e altro ancora.

See also

Architettura di Windows Display Driver Model (WDDM)

Inizializzazione del driver Miniport di Visualizzazione