]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Reset context image on engines after triggering the reset
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Jul 2017 12:32:20 +0000 (13:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:38:44 +0000 (09:38 +0200)
commitb4f3e1631f5e8fcfb1da84cbd5d3ec581480954a
tree19b773a159821c73069214751f73beddd6c3e5cd
parent4d73da937fcf5f1bc0e58f6f34b2c32355e64f74
drm/i915: Reset context image on engines after triggering the reset

We try to fixup the context image after the reset to ensure that there
are no more pending writes from the hw that may conflict and to fixup
any that were in flight.

Fixes: a1ef70e14453 ("drm/i915: Add support for per engine reset recovery")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170721123238.16428-2-chris@chris-wilson.co.uk
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c