DXGK_FEATURE_ID enumeration (d3dkmddi.h)
A kernel-mode driver (KMD) calls DXGKCB_ISFEATUREENABLED with a DXGK_FEATURE_ID value to query whether the OS will allow it to enable support for that feature.
Syntax
typedef enum _DXGK_FEATURE_ID {
DXGK_FEATURE_HWSCH = 0,
DXGK_FEATURE_HWFLIPQUEUE = 1,
DXGK_FEATURE_LDA_GPUPV = 2,
DXGK_FEATURE_KMD_SIGNAL_CPU_EVENT = 3,
DXGK_FEATURE_USER_MODE_SUBMISSION = 4,
DXGK_FEATURE_SHARE_BACKING_STORE_WITH_KMD = 5
} DXGK_FEATURE_ID;
Constants
DXGK_FEATURE_HWSCH Value: 0 Query whether to enable support for hardware-accelerated GPU scheduling. |
DXGK_FEATURE_HWFLIPQUEUE Value: 1 Query whether to enable support for the hardware flip queue feature. Available starting in Windows 11 (WDDM 3.0). |
DXGK_FEATURE_LDA_GPUPV Value: 2 Query whether to enable support for linked device adapter (LDA) in GPU paravirtualization (GPU_PV). Available starting in Windows 11 (WDDM 3.0). |
DXGK_FEATURE_KMD_SIGNAL_CPU_EVENT Value: 3 Query whether to enable support for signaling CPU events by KMD. Available starting in Windows 11 (WDDM 3.0). |
DXGK_FEATURE_USER_MODE_SUBMISSION Value: 4 Query whether to enable user-mode submissions. Available starting in Windows 11 version 22H2 (WDDM 3.1). |
DXGK_FEATURE_SHARE_BACKING_STORE_WITH_KMD Value: 5 Query whether to enable support to share the backing store with the KMD. Available starting in Windows 11 version 22H2 (WDDM 3.1). |
Remarks
For each feature in this enumeration that the driver supports, the driver must do the following:
- Call the OS to query the feature's enabled status.
- Only enable the feature if the OS returned
Enabled=TRUE
.
Drivers that don't support the feature doesn't have to call the OS to query its status.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1903 |
Header | d3dkmddi.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for