]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Ensure the context is reloaded after a GPU reset
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Sep 2019 09:29:33 +0000 (10:29 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Sep 2019 11:59:46 +0000 (12:59 +0100)
commit123d9dca0519b22d7f7d27dc9d160b2431c700e1
tree6895b37f8f43b0fc62755bee52ff9159dfc30feb
parent436ccc5854054564ef2278ad4a9f7392258b1590
drm/i915/execlists: Ensure the context is reloaded after a GPU reset

After we manipulate the context to allow replay after a GPU reset, force
that context to be reloaded. This should be a layer of paranoia, for if
the GPU was reset, the context will no longer be resident!

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