drm/i915: Use BIT() for computing the engine's flag
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Mar 2017 16:35:40 +0000 (16:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Mar 2017 12:02:39 +0000 (13:02 +0100)
commit59ce13104d532f04e85cbbbbaa400200c1d12c28
treeab5a9e2f473ed0b1a9181de442ba8991c7e45027
parentddb2397e30896626831dbac31a75eeb1991c4819
drm/i915: Use BIT() for computing the engine's flag

Since the engine's flag is just the bit of its id, use 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/20170324163540.31981-3-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_ringbuffer.h