drm/i915: L3 cache remapping is part of context switching
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Apr 2016 08:56:42 +0000 (09:56 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Apr 2016 11:17:32 +0000 (12:17 +0100)
commitb0ebde395d35dd1c592817c0f5381842f161b81a
tree36b4b46839483ec8cd44152db7307fc2ce7ea3c1
parentb2e862d08ea61f6ff12ac238eeaa4a6cb314f2e4
drm/i915: L3 cache remapping is part of context switching

Move the i915_gem_l3_remap function such that it next to the context
switching, which is where we perform the L3 remap.

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-8-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_context.c