DXGK_ALLOCATIONINFOFLAGS2 structure (d3dkmddi.h)
The DXGK_ALLOCATIONINFOFLAGS2 structure contains additional properties for an allocation.
Syntax
typedef struct _DXGK_ALLOCATIONINFOFLAGS2 {
union {
struct {
UINT ShareBackingStoreWithKmd : 1;
UINT NoImplicitSynchronization : 1;
UINT DisablePartialResidency : 1;
UINT RestrictedToSingleSegment : 1;
UINT NotifyEviction : 1;
UINT NotifyIoMmuUnmap : 1;
#if ...
UINT Reserved : 26;
#else
UINT Reserved : 31;
#endif
};
UINT Value;
};
} DXGK_ALLOCATIONINFOFLAGS2;
Members
ShareBackingStoreWithKmd
When set, the kernel-mode driver (KMD) is notifying Dxgkrnl that it needs to know the address of the allocation backing store. The allocation must be created shared and must reside only in the aperture memory segment.
NoImplicitSynchronization
When set, KMD is opting out of implicit primary synchronization. This flag was introduced in Windows 11, version 24H2 (WDDM 3.2).
DisablePartialResidency
When set, indicates that the allocation doesn't support partial residency. The allocation must either be entirely evicted or entirely resident. This flag was introduced in Windows 11, version 24H2 (WDDM 3.2).
RestrictedToSingleSegment
When set, indicates that the allocation doesn't support cross-segment residency. The allocation must be entirely resident within a single segment. This flag was introduced in Windows 11, version 24H2 (WDDM 3.2).
NotifyEviction
When set, indicates that Dxgkrnl should issue a DXGK_OPERATION_NOTIFY_ALLOC NotifyEviction operation to KMD before evicting an allocation. This flag was introduced in Windows 11, version 24H2 (WDDM 3.2). For more information, see Allocation notification.
NotifyIoMmuUnmap
When set, indicates that Dxgkrnl should issue a DXGK_OPERATION_NOTIFY_ALLOC NotifyIoMmuUnmap operation to KMD before unmapping an allocation from the IOMMU. This flag was introduced in Windows 11, version 24H2 (WDDM 3.2). For more information, see Allocation notification.
Reserved
Reserved; do not use.
Value
An alternative way to access the bits of this structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 (WDDM 3.0) |
Header | d3dkmddi.h |