// d3dkmddi.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_ALLOCATIONINFOFLAGS2 structure contains additional properties for an allocation.
ShareBackingStoreWithKmdWhen 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.
NoImplicitSynchronizationWhen set, KMD is opting out of implicit primary synchronization. This flag was introduced in Windows 11, version 24H2 (WDDM 3.2).
DisablePartialResidencyWhen 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).
RestrictedToSingleSegmentWhen 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).
NotifyEvictionWhen 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.
NotifyIoMmuUnmapWhen 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.
ReservedReserved; do not use.
ValueAn alternative way to access the bits of this structure.