drm/i915: Remove intel_ring.last_retired_head
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Mar 2017 10:25:52 +0000 (10:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Mar 2017 14:21:50 +0000 (14:21 +0000)
commitfe085f13c7901203445fd2ab26c0f499313b8258
treec960eafb07e11a856cb325ca82e71f45140f040b
parent899f6204c0f8117d33226e586d3a630b3cf9bce0
drm/i915: Remove intel_ring.last_retired_head

Storing the position of the breadcrumb of the last retired request as
a separate last_retired_head is superfluous as we always copy that into
head prior to recalculation of the intel_ring.space.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170321102552.24357-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_gem_request.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h
drivers/gpu/drm/i915/selftests/mock_engine.c