[Intel-gfx] [PATCH] drm/i915: Convert i915_gem_object_ops->flags values to use BIT()

Chris Wilson chris at chris-wilson.co.uk
Wed May 24 11:04:32 UTC 2017


On Tue, May 23, 2017 at 09:13:19PM +0300, Joonas Lahtinen wrote:
> On ti, 2017-05-23 at 11:31 +0100, Chris Wilson wrote:
> > Having just watched someone add a new value, 0x3, without realising that
> > the flags were bit values, I have come to appreciate the value in using
> > BIT.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> 
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

And pushed, thanks for the review.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list