drm/i915: Move fiddling with engine->last_retired_context
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 17 May 2018 21:26:31 +0000 (22:26 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 18 May 2018 08:35:21 +0000 (09:35 +0100)
commit01278cb143955f4b592568d1756f1baf506245c2
treec2e8cf548a4dd193d8268dccc780458cb35378fd
parent4e0d64dba816adf18c17488d38ede67a3d0e9b40
drm/i915: Move fiddling with engine->last_retired_context

Move the knowledge about resetting the current context tracking on the
engine from inside i915_gem_context.c into intel_engine_cs.c

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180517212633.24934-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_ringbuffer.h