DXGKCB_UNMAPMDLFROMIOMMU callback function (d3dkmddi.h)

DXGKCB_UNMAPMDLFROMIOMMU releases the mapping that was set by DXGKCB_MAPMDLTOIOMMU.

Syntax

DXGKCB_UNMAPMDLFROMIOMMU DxgkcbUnmapmdlfromiommu;

void DxgkcbUnmapmdlfromiommu(
  [in] IN_CONST_HANDLE hAdapter,
  [in] IN_CONST_PDXGKARGCB_UNMAPMDLFROMIOMMU pUnmapMdlFromIoMmu
)
{...}

Parameters

[in] hAdapter

A handle to a display adapter. The driver provides this handle for the master/lead device in the LDA chain.

[in] pUnmapMdlFromIoMmu

A pointer to the DXGKARGCB_UNMAPMDLFROMIOMMU structure that contains a handle to the memory to be unmapped.

Return value

None

Remarks

DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the members of DXGKARGCB_UNMAPMDLFROMIOMMU and then calls DxgkCbUnmapMdlFromIoMmu via the DXGKRNL_INTERFACE.

See IOMMU-based GPU isolation for more information.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803 (WDDM 2.4)
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKARGCB_UNMAPMDLFROMIOMMU

DXGKCB_MAPMDLTOIOMMU

DXGKRNL_INTERFACE