]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Mark all default contexts as uninitialised after context loss
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Jun 2016 13:55:55 +0000 (14:55 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Jun 2016 14:02:55 +0000 (15:02 +0100)
commit5fea8c0ed0dd813114e07d34a2b9a2b1de287733
tree04631de4c24d32a776b934d18057a176fad55a42
parent5189bd2da190965d08a01f37c68d7787a2169c45
drm/i915: Mark all default contexts as uninitialised after context loss

When the GPU is reset or state lost through suspend, every default
legacy context needs to reload their state - both the golden render
state and the L3 mapping. Only context images explicitly saved to memory
(i.e. all execlists and non-default legacy contexts) will retain their
state across the reset.

v2: Rebase

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1466776558-21516-4-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_context.c