On Fri, Jun 17, 2016 at 09:33:31AM +0200, Daniel Vetter wrote: > File open/set_maseter ioctl and file close/drop_master ioctl share the > same master handling code. Extract it. > > Note that vmwgfx's master_set callback needs to know whether the > master is a new one or has been used already, so thread this through. > On the close/drop side a similar parameter existed, but wasnt used. > Drop it to simplify the flow. > > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Thomas Hellstrom <thellstrom@xxxxxxxxxx> > Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxxx> Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx