drm/i915: Convert i915_gem_object_ops->flags values to use BIT()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 May 2017 10:31:16 +0000 (11:31 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 24 May 2017 11:02:32 +0000 (12:02 +0100)
commit22284f400a4dcf48824d96142c0acb75c0c94fba
tree4bbdb4f91dbef1e02d9b3b8cf96d08d91f913deb
parentca83d5840cb641b2efb04db0b70fa56955dd1453
drm/i915: Convert i915_gem_object_ops->flags values to use BIT()

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@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170523103116.32239-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_gem_object.h