vga_switcheroo docs (was: Re: [PATCH v2.1 1/3] vga_switcheroo: Add support for switching only the DDC)

2015-09-17 Thread Lukas Wunner
Hi Daniel, On Tue, Aug 25, 2015 at 10:12:50AM +0200, Daniel Vetter wrote: > Since you're just diggin around in switcheroo code it would be awesome to > write proper kerneldoc for all the functions exposed to drivers, move the > above to a proper kerneldoc for the vfunc tables Alright, a patch set

[PATCH v2.1 1/3] vga_switcheroo: Add support for switching only the DDC

2015-08-25 Thread Daniel Vetter
On Fri, Aug 14, 2015 at 06:50:15PM +0200, Lukas Wunner wrote: > Originally by Seth Forshee , 2012-10-04: > During graphics driver initialization it's 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 pr

[PATCH v2.1 1/3] vga_switcheroo: Add support for switching only the DDC

2015-08-17 Thread Lukas Wunner
Hi Thierry, Thanks a lot for your comments! On Mon, Aug 17, 2015 at 12:36:55PM +0200, Thierry Reding wrote: > On Fri, Aug 14, 2015 at 06:50:15PM +0200, Lukas Wunner wrote: > > +int vga_switcheroo_lock_ddc(struct pci_dev *pdev) > > +{ > > + int id; > > + > > + mutex_lock(&vgasr_priv.ddc_lock);

[PATCH v2.1 1/3] vga_switcheroo: Add support for switching only the DDC

2015-08-17 Thread Thierry Reding
On Fri, Aug 14, 2015 at 06:50:15PM +0200, Lukas Wunner wrote: > Originally by Seth Forshee , 2012-10-04: > During graphics driver initialization it's 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 pr

[PATCH v2.1 1/3] vga_switcheroo: Add support for switching only the DDC

2015-08-14 Thread Lukas Wunner
Originally by Seth Forshee , 2012-10-04: During graphics driver initialization it's 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