drm/i915: Avoid using intel_engine_cs *ring for GPU error capture
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Jul 2016 08:07:28 +0000 (09:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Jul 2016 15:23:05 +0000 (16:23 +0100)
commit6361f4ba468264e8203111c5d138c7123e72a5c2
tree6b715d040d40d31a9ec29c03279e6b52c84d5851
parentc80ff16e112bde543483cb779554ffde493988a5
drm/i915: Avoid using intel_engine_cs *ring for GPU error capture

Inside the error capture itself, we refer to not only the hardware
engine, its ringbuffer but also the capture state. Finding clear names
for each whilst avoiding mixing ring/intel_engine_cs is tricky. As a
compromise we keep using ering for the error capture.

v2: Use 'ee' locals for struct drm_i915_error_engine

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1469432687-22756-8-git-send-email-chris@chris-wilson.co.uk
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1469606850-28659-3-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c