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

2017-12-06 Thread Lukas Wunner
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 ca

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

2017-04-12 Thread Andy Ritger
On Tue, Apr 11, 2017 at 09:24:33AM +0200, Lukas Wunner wrote: > Hi Nikhil, > > On Tue, Apr 11, 2017 at 09:44:35AM +0530, Nikhil Mahale wrote: > > There is not interest in relaxing the export of refcount_inc, and > > changing the license of nvidia-drm.ko isn't viable right now. > > Why not dual-l

Re: Static inline DRM functions calling into GPL-only code

2017-04-11 Thread Harry Wentland
On 2017-04-11 12:37 PM, James Jones wrote: On 04/11/2017 09:09 AM, Harry Wentland wrote: On 2017-04-11 11:15 AM, James Jones wrote: On 04/10/2017 11:20 PM, Daniel Vetter wrote: On Tue, Apr 11, 2017 at 7:52 AM, Daniel Vetter wrote: On Tue, Apr 11, 2017 at 6:14 AM, Nikhil Mahale wrote: My na

Re: Static inline DRM functions calling into GPL-only code

2017-04-11 Thread James Jones
On 04/11/2017 09:09 AM, Harry Wentland wrote: On 2017-04-11 11:15 AM, James Jones wrote: On 04/10/2017 11:20 PM, Daniel Vetter wrote: On Tue, Apr 11, 2017 at 7:52 AM, Daniel Vetter wrote: On Tue, Apr 11, 2017 at 6:14 AM, Nikhil Mahale wrote: My name is Nikhil Mahale, and I work at NVIDIA in

Re: Static inline DRM functions calling into GPL-only code

2017-04-11 Thread Harry Wentland
On 2017-04-11 11:15 AM, James Jones wrote: On 04/10/2017 11:20 PM, Daniel Vetter wrote: On Tue, Apr 11, 2017 at 7:52 AM, Daniel Vetter wrote: On Tue, Apr 11, 2017 at 6:14 AM, Nikhil Mahale wrote: My name is Nikhil Mahale, and I work at NVIDIA in the Linux drivers team. I have been working o

Re: Static inline DRM functions calling into GPL-only code

2017-04-11 Thread James Jones
On 04/10/2017 11:20 PM, Daniel Vetter wrote: On Tue, Apr 11, 2017 at 7:52 AM, Daniel Vetter wrote: On Tue, Apr 11, 2017 at 6:14 AM, Nikhil Mahale wrote: My name is Nikhil Mahale, and I work at NVIDIA in the Linux drivers team. I have been working on adding DRM KMS support to our driver. The

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

2017-04-11 Thread Lukas Wunner
Hi Nikhil, On Tue, Apr 11, 2017 at 09:44:35AM +0530, Nikhil Mahale wrote: > There is not interest in relaxing the export of refcount_inc, and > changing the license of nvidia-drm.ko isn't viable right now. Why not dual-license as MIT+GPL? > * Make these static inline DRM functions EXPORT_SYMBO

Re: Static inline DRM functions calling into GPL-only code

2017-04-10 Thread Daniel Vetter
On Tue, Apr 11, 2017 at 7:52 AM, Daniel Vetter wrote: > On Tue, Apr 11, 2017 at 6:14 AM, Nikhil Mahale wrote: >> My name is Nikhil Mahale, and I work at NVIDIA in the Linux drivers >> team. >> >> I have been working on adding DRM KMS support to our driver. The NVIDIA >> GPU driver package (364.12

Re: Static inline DRM functions calling into GPL-only code

2017-04-10 Thread Daniel Vetter
On Tue, Apr 11, 2017 at 6:14 AM, Nikhil Mahale wrote: > My name is Nikhil Mahale, and I work at NVIDIA in the Linux drivers > team. > > I have been working on adding DRM KMS support to our driver. The NVIDIA > GPU driver package (364.12 and higher) provides a kernel module, > nvidia-drm.ko, which

Static inline DRM functions calling into GPL-only code

2017-04-10 Thread Nikhil Mahale
Hi, My name is Nikhil Mahale, and I work at NVIDIA in the Linux drivers team. I have been working on adding DRM KMS support to our driver. The NVIDIA GPU driver package (364.12 and higher) provides a kernel module, nvidia-drm.ko, which is licensed as "MIT". This module registers a DRM driver