drm/i915: Consolidate L3 remapping LRI
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Apr 2016 08:56:43 +0000 (09:56 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Apr 2016 11:17:32 +0000 (12:17 +0100)
commitff55b5e89289bc4e726848ee75db6aafce3093a7
treec243b3d791a7a9c03b73b14cbeb32547e4430c69
parentb0ebde395d35dd1c592817c0f5381842f161b81a
drm/i915: Consolidate L3 remapping LRI

We can use a single MI_LOAD_REGISTER_IMM command packet to write all the
L3 remapping registers, shrinking the number of bytes required to emit
the context switch.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461833819-3991-9-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_context.c