On 14 June 2016 at 19:50, Daniel Vetter <daniel.vet...@ffwll.ch> wrote:
> Master-based auth only exists for the legacy/primary drm_minor, hence
> there can only be one per device. The goal here is to untangle the
> epic dereference games of minor->master and master->minor which is
> just massively confusing.
>
Good riddance :-)
Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com>

Taking this a step further, have you considered:
 - having the master under drm_device, then
 - nuking the drm_file/drm_minor one and adding drm_minor::has_master.
The last one will be checked before accessing drm_minor::dev::master.

The above should work just fine, right ?

-Emil
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to