Re: [Patch v2] apple-gmux: lock iGP IO to protect from vgaarb changes

2015-03-06 Thread Bruno Prémont
On Fri, 06 March 2015 Darren Hart wrote: > On Thu, Mar 05, 2015 at 11:20:38PM +0100, Bruno Prémont wrote: > > As GMUX depends on IO for iGP to be enabled and active, lock the IO at > > vgaarb level. This should prevent GPU driver for dGPU to disable IO for > > iGP while it tries to own legacy VGA

Re: [Patch v2] apple-gmux: lock iGP IO to protect from vgaarb changes

2015-03-06 Thread Darren Hart
On Thu, Mar 05, 2015 at 11:20:38PM +0100, Bruno Prémont wrote: > As GMUX depends on IO for iGP to be enabled and active, lock the IO at > vgaarb level. This should prevent GPU driver for dGPU to disable IO for > iGP while it tries to own legacy VGA IO. > > This fixes usage of backlight control

Re: [Patch v2] apple-gmux: lock iGP IO to protect from vgaarb changes

2015-03-06 Thread Bruno Prémont
On Fri, 06 March 2015 Darren Hart dvh...@infradead.org wrote: On Thu, Mar 05, 2015 at 11:20:38PM +0100, Bruno Prémont wrote: As GMUX depends on IO for iGP to be enabled and active, lock the IO at vgaarb level. This should prevent GPU driver for dGPU to disable IO for iGP while it tries to

Re: [Patch v2] apple-gmux: lock iGP IO to protect from vgaarb changes

2015-03-06 Thread Darren Hart
On Thu, Mar 05, 2015 at 11:20:38PM +0100, Bruno Prémont wrote: As GMUX depends on IO for iGP to be enabled and active, lock the IO at vgaarb level. This should prevent GPU driver for dGPU to disable IO for iGP while it tries to own legacy VGA IO. This fixes usage of backlight control

[Patch v2] apple-gmux: lock iGP IO to protect from vgaarb changes

2015-03-05 Thread Bruno Prémont
As GMUX depends on IO for iGP to be enabled and active, lock the IO at vgaarb level. This should prevent GPU driver for dGPU to disable IO for iGP while it tries to own legacy VGA IO. This fixes usage of backlight control combined with closed nvidia driver on some Apple dual-GPU (intel/nvidia)

[Patch v2] apple-gmux: lock iGP IO to protect from vgaarb changes

2015-03-05 Thread Bruno Prémont
As GMUX depends on IO for iGP to be enabled and active, lock the IO at vgaarb level. This should prevent GPU driver for dGPU to disable IO for iGP while it tries to own legacy VGA IO. This fixes usage of backlight control combined with closed nvidia driver on some Apple dual-GPU (intel/nvidia)