OSDN Git Service

drm/i915: capture aux page table error register
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 25 Oct 2019 12:17:18 +0000 (15:17 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Oct 2019 17:29:05 +0000 (18:29 +0100)
commitba1d18e386d991356f59bbb417b0c642abf671fa
treebef606309697d880deb8f4f6196403a77e98a748
parentdd5279c71405533d4ddbb9453effc60f0f5bf211
drm/i915: capture aux page table error register

TGL introduced a feature in which we map the main surface to the
auxiliary surface. If we screw up the page tables, the HW has a
register to tell us which engine encounters a fault in the page table
walk.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
[ickle: Be brave and apply to gen12]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191025121718.18806-1-lionel.g.landwerlin@intel.com
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_gpu_error.h
drivers/gpu/drm/i915/i915_reg.h