On 2 June 2014 02:38, Matthew Garrett matthew.garrett@nebula.com wrote:
From: Seth Forshee seth.forshee@canonical.com
During graphics driver initialization its useful to be able to mux only the DDC to the inactive client in order to read the EDID. Add a switch_ddc callback to allow capable handlers to provide this functionality, and add vga_switcheroo_switch_ddc() to allow DRM to mux only the DDC.
I can't figure out why I didn't like this, but I rewrote this way back to lock/unlock the ddc lines, bits are contained in this WIP mess. http://cgit.freedesktop.org/~airlied/linux/commit/?h=switchy-wip&id=aead...
I think I'd prefer something like that otherwise the interface got really ugly.
Dave.