On Mon, Aug 31, 2015 at 08:47:17PM +0100, Emil Velikov wrote: > ...to minimise misuse of bo_gem. > If the variable is declared at the top of the function and then used > for two (or more) different contexts this can cause confusion and errors. > > Just introduce a wrapper, which can be used in a once off situations. > > Suggested-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Emil Velikov <emil.l.velikov@xxxxxxxxx> Reviewed-by Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> (And may as well take that as r-b for the preceding patch then) -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel