drm/i915: Record default HW state in the GPU error state
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 26 Nov 2017 22:09:01 +0000 (22:09 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Nov 2017 16:37:15 +0000 (16:37 +0000)
commit4e90a6e222720dd0ec529f87eca990c736ba8ede
tree75a49a90f6415ae403e40ddc3d858a40ad05e8bd
parentc82297fcfaff2862686094061772070e6763e00c
drm/i915: Record default HW state in the GPU error state

It may be of interest to both compare the active HW context against the
default (aka NULL) context, to see what has been changed and if either are
corrupt.

v2: Rename the fake vma as fake.

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