drm/i915/execlists: Verify context register state before execution
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 2 Nov 2019 12:57:39 +0000 (12:57 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 2 Nov 2019 13:39:13 +0000 (13:39 +0000)
commitb0b10248866455a19b4dd4ac186eb131d83df452
tree90cdaeb5b4874b50cd8d8f1b1cbb11ca9612cf8a
parent38813767c7c5d9f8e0bd6b14136add861cc79b33
drm/i915/execlists: Verify context register state before execution

Check that the context's ring register state still matches our
expectations prior to execution.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191102125739.24626-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_lrc_reg.h
drivers/gpu/drm/i915/gt/selftest_lrc.c