drm/i915: Show RING registers through debugfs
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Oct 2016 20:11:31 +0000 (21:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 5 Oct 2016 07:40:06 +0000 (08:40 +0100)
commit1b36595ffb350c8bec5be8894c5a43f0581864c0
tree5a9198dabdae00c7be0cb4f2d5d8e88da0cf52f7
parentcdb324bde5700725f04172bbeb6ef0bbbb6886c3
drm/i915: Show RING registers through debugfs

Knowing where the RINGs are pointing is extremely useful in diagnosing
if the engines are executing the ringbuffers you expect - and igt may be
suppressing the usual method of looking in the GPU error state.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161004201132.21801-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h