[Intel-gfx] [PATCH 12/14] drm: Move master pointer from drm_minor to drm_device

2016-06-15 Thread Daniel Vetter
On Wed, Jun 15, 2016 at 6:33 PM, Chris Wilson wrote: > On Wed, Jun 15, 2016 at 06:01:41PM +0200, Daniel Vetter wrote: >> On Wed, Jun 15, 2016 at 01:10:35PM +0100, Chris Wilson wrote: >> > On Tue, Jun 14, 2016 at 08:51:07PM +0200, Daniel Vetter wrote: >> > > There can only be one current master,

[Intel-gfx] [PATCH 12/14] drm: Move master pointer from drm_minor to drm_device

2016-06-15 Thread Daniel Vetter
On Wed, Jun 15, 2016 at 01:10:35PM +0100, Chris Wilson wrote: > On Tue, Jun 14, 2016 at 08:51:07PM +0200, Daniel Vetter wrote: > > There can only be one current master, and it's for the overall device. > > Render/control minors don't support master-based auth at all. > > > > This simplifies the

[Intel-gfx] [PATCH 12/14] drm: Move master pointer from drm_minor to drm_device

2016-06-15 Thread Chris Wilson
On Wed, Jun 15, 2016 at 06:01:41PM +0200, Daniel Vetter wrote: > On Wed, Jun 15, 2016 at 01:10:35PM +0100, Chris Wilson wrote: > > On Tue, Jun 14, 2016 at 08:51:07PM +0200, Daniel Vetter wrote: > > > There can only be one current master, and it's for the overall device. > > > Render/control minors

[Intel-gfx] [PATCH 12/14] drm: Move master pointer from drm_minor to drm_device

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:51:07PM +0200, Daniel Vetter wrote: > There can only be one current master, and it's for the overall device. > Render/control minors don't support master-based auth at all. > > This simplifies the master logic a lot, at least in my eyes: All these > additional pointer