// dispmprt.h
typedef struct _DXGKARG_GETVIRTUALGPUPROFILE {
ULONG PartitionCount;
ULONG VirtualizationFlags;
DXGK_VGPU_PROFILE_CAPABILITY ProfileCapability[DXGK_VGPU_CAPABILITY_MAX];
} DXGKARG_GETVIRTUALGPUPROFILE, *PDXGKARG_GETVIRTUALGPUPROFILE;
View the official Windows Driver Kit DDI referenceNo description available.
Arguments used to get virtual GPU profile.
PartitionCountThe total number of partitions available for this detailed configuration.
VirtualizationFlagsThe flags define how the physical hardware of the partitionable GPU is virtualized. The possible values are:
On the Server SKU the default security policy requires the driver to set both flags.
To disable the security policy set the following registry keys:
DWORD HKLM\SOFTWARE\Policies\Microsoft\Windows\HyperV\RequireSecureDeviceAssignment = 0 DWORD HKLM\SOFTWARE\Policies\Microsoft\Windows\HyperV\RequireSupportedDeviceAssignment = 0
ProfileCapabilityThe profile capabilities for each partition, specified by the kernel mode driver. The capabilities are memory, encode, decode and compute. For each capability the following information is provided by the driver:
The meaning of the capability values depend on the capability type. For memory it is the number of bytes. For compute it is the number of gigaflops of 16fp instructions. For video Encode/Decode it is roughly in blocks of 540p capability. 1 is 540p60, 2 is 720p60, 4 is 1080p60, 4Kp60 is 16, etc.