detect displayport dual mode
Is there a way for non-kernel code to determine if a /dev/i2c device for a DisplayPort connector is operating in dual mode? (I don't see a way to do it in /sys.) Perhaps querying DRM or the video driver directly? Could it be done by writing a simple driver?
I ask because, as the developer of ddcutil, I am often trying to remotely diagnose why a DDC connection is not working. Being able to check from within the diagnostic utility I ask users to run would be helpful.