[PATCH libdrm 4.1/17] intel: introduce to_bo_gem() helper
chris at chris-wilson.co.uk
Mon Aug 31 12:48:29 PDT 2015
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 at chris-wilson.co.uk>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by Chris Wilson <chris at chris-wilson.co.uk>
(And may as well take that as r-b for the preceding patch then)
Chris Wilson, Intel Open Source Technology Centre
More information about the dri-devel