[Intel-gfx] [PATCH] drm/i915: cleanup use of INSTR_CLIENT_MASK

Chris Wilson chris at chris-wilson.co.uk
Mon Nov 14 22:57:54 UTC 2016


On Mon, Nov 14, 2016 at 10:39:34PM +0000, Matthew Auld wrote:
> 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 at chris-wilson.co.uk>
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list