nvidia vgaarb bug (was: Re: Static inline DRM functions calling into GPL-only code)

Lukas Wunner lukas at wunner.de
Wed Dec 6 11:24:27 UTC 2017

On Wed, Apr 12, 2017 at 03:46:05PM -0700, Andy Ritger wrote:
> On Tue, Apr 11, 2017 at 09:24:33AM +0200, Lukas Wunner wrote:
> > Sorry to hijack this thread, but there's an egregious, long-standing bug
> > in your driver with regards to vgaarb usage:  nvidia/nv.c calls
> > vga_tryget() but never calls vga_put(), in other words your driver locks
> > legacy VGA I/O but never unlocks it.  This is in the proprietary, non-MIT
> > licensed portion of your driver.
> > 
> > The bug was already reported to Nvidia four years ago:
> > https://devtalk.nvidia.com/default/topic/545560
> > 
> > It causes issues such as deadlocks or inability to control backlight
> > on MacBook Pros, commit 4eebd5a4e726 tried to work around it but
> > introduced more problems.
> > 
> > Could you please look into fixing that bug? Thanks!
> Thanks for pointing that out.  Yes, we'll take a look.

Andy, eight months have passed and this bug is still present in your
latest driver version 387.34.  Could you please provide an ETA for a fix?



More information about the dri-devel mailing list