On Fri, Jun 17, 2016 at 09:33:33AM +0200, Daniel Vetter wrote: > - is_master can be removed, we can compute this by checking allowed_master > (which really just tracks whether a master struct has been allocated > for this fpriv in either open or set_master), and whether the fpriv is > the current master on the device. > > - that frees up is_master as a good replacement name for allowed_master. > With that it's clear that it tracks whether the fpriv is a master (with > possibly clients attached to it and authenticated against it), and that > one of those fprivs with is_master set is the current master. > > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Thomas Hellstrom <thellstrom@xxxxxxxxxx> > Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx> Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel