DXGK_PHYSICAL_MEMORY_TYPE enumeration (d3dkmddi.h)

DXGK_PHYSICAL_MEMORY_TYPE indicates the type of physical memory being created by the driver in a call to DxgkCbCreatePhysicalMemoryObject.

Syntax

typedef enum _DXGK_PHYSICAL_MEMORY_TYPE {
  DXGK_PHYSICAL_MEMORY_TYPE_MDL,
  DXGK_PHYSICAL_MEMORY_TYPE_CONTIGUOUS_MEMORY,
  DXGK_PHYSICAL_MEMORY_TYPE_SECTION,
  DXGK_PHYSICAL_MEMORY_TYPE_IO_SPACE
} DXGK_PHYSICAL_MEMORY_TYPE;

Constants

 
DXGK_PHYSICAL_MEMORY_TYPE_MDL
Allocate nonpageable memory in the form of an MDL. This is functionally equivalent to calling MmAllocatePagesForMdl.
DXGK_PHYSICAL_MEMORY_TYPE_CONTIGUOUS_MEMORY
Allocate contiguous nonpageable memory. This is functionally equivalent to calling MmAllocateContiguousMemory.
DXGK_PHYSICAL_MEMORY_TYPE_SECTION
Allocate memory that can be mapped into one or more processes. This represents memory that would normally be allocated from ZwCreateSection.
DXGK_PHYSICAL_MEMORY_TYPE_IO_SPACE
Wrap an existing IO-space range provided by the driver.

Remarks

DXGK_PHYSICAL_MEMORY_TYPE is passed as a member of the DXGKARGCB_CREATE_PHYSICAL_MEMORY_OBJECT arguments.

See IOMMU DMA remapping for more information.

Requirements

Requirement Value
Minimum supported server Windows Server 2022 (WDDM 2.9)
Header d3dkmddi.h

See also

DXGKARGCB_CREATE_PHYSICAL_MEMORY_OBJECT

DxgkCbCreatePhysicalMemoryObject