]> git.baikalelectronics.ru Git - kernel.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)
commitfed81e0013f70871cddaf8e9113da82188c1a0f2
tree19b773a159821c73069214751f73beddd6c3e5cd
parenta272812b639c2846cf242db38fec3d71b1d5098f
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: a4c99a4c1166 ("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