drm/i915: Show IPEIR and IPEHR in the engine dump
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Dec 2017 12:39:14 +0000 (12:39 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Dec 2017 13:04:34 +0000 (13:04 +0000)
commita0cf579080a89a47a5441a4ba79f970009171e76
treedb7e993da303e3037bded75bb02982093a0dd7b4
parentb65a9b98218fe1e3ae1ad2c240c39179f1dd1b9a
drm/i915: Show IPEIR and IPEHR in the engine dump

A useful bit of information for inspecting GPU stalls from
intel_engine_dump() are the error registers, IPEIR and IPEHR.

v2: Fixup gen changes in register offsets (Tvrtko)
v3: Old FADDR location as well
v4: Use I915_READ64_2x32

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171218123914.19027-1-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/intel_engine_cs.c