microsoft / Windows-driver-samples

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
Microsoft Public License
6.92k stars 4.93k forks source link

[KMDOD] How to access DPCD and EDID through DP AUX channel? #975

Open chengen80011 opened 1 year ago

chengen80011 commented 1 year ago

HI

I am trying to access DPCD and EDID through DP AUX channel. I found an API from WDDM. (https://learn.microsoft.com/en-us/windows-hardware/drivers/display/what-s-new-for-windows-10-display-and-graphics-drivers) image

So, I add callback function in KMDOD sample driver. image

But I can only get "GUID_DEVINTERFACE_I2C" and "GUID_DXGK_MIPI_DSI_INTERFACE" without "GUID_DXGK_DP_INTERFACE". Do I miss some settings?

Following is my system information:

image

image

This monitor connect to PC with DP cable. image

Any suggestion is welcome! Thanks in advance.