drm/i915: cleanup use of INSTR_CLIENT_MASK
authorMatthew Auld <matthew.auld@intel.com>
Mon, 14 Nov 2016 22:39:34 +0000 (22:39 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Thu, 24 Nov 2016 11:28:29 +0000 (13:28 +0200)
commite3f51ece02f877d2ce9619aa8d5919db56f39582
tree4ce39b9e407e1f2863719f17964ee02594030a42
parent30576a2c462d9658508c3de67601aa565f973064
drm/i915: cleanup use of INSTR_CLIENT_MASK

Doing cmd_header >> 29 to extract our 3-bit client value where we know
cmd_header is a u32 shouldn't then also require the use of a mask. So
remove the redundant operation and get rid of INSTR_CLIENT_MASK now that
there are no longer any users.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1479163174-29686-1-git-send-email-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_cmd_parser.c
drivers/gpu/drm/i915/i915_reg.h