From 40c0dbcfc1df6518be53a92d534c78bec4da5b02 Mon Sep 17 00:00:00 2001 From: evman Date: Wed, 16 Sep 2026 02:52:50 -0700 Subject: [PATCH] Expose software gamma-ramp capability for VDD --- Virtual Display Driver (HDR)/MttVDD/Driver.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Virtual Display Driver (HDR)/MttVDD/Driver.cpp b/Virtual Display Driver (HDR)/MttVDD/Driver.cpp index 3145b04a..1170109c 100644 --- a/Virtual Display Driver (HDR)/MttVDD/Driver.cpp +++ b/Virtual Display Driver (HDR)/MttVDD/Driver.cpp @@ -3710,7 +3710,10 @@ void IndirectDeviceContext::InitAdapter() // Declare basic feature support for the adapter (required) AdapterCaps.MaxMonitorsSupported = numVirtualDisplays; AdapterCaps.EndPointDiagnostics.Size = sizeof(AdapterCaps.EndPointDiagnostics); - AdapterCaps.EndPointDiagnostics.GammaSupport = IDDCX_FEATURE_IMPLEMENTATION_NONE; + // The VDD registers EVT_IDD_CX_MONITOR_SET_GAMMA_RAMP above. Advertise + // software gamma support so Windows exposes the standard gamma-ramp APIs + // on the VDD DC; the callback path is exercised by the VM validation. + AdapterCaps.EndPointDiagnostics.GammaSupport = IDDCX_FEATURE_IMPLEMENTATION_SOFTWARE; AdapterCaps.EndPointDiagnostics.TransmissionType = IDDCX_TRANSMISSION_TYPE_WIRED_OTHER; // Declare your device strings for telemetry (required)