]> 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)
commitdcebd11e34e1e069a303a2630e4d7911a46d185f
tree04631de4c24d32a776b934d18057a176fad55a42
parent677362eb9d3f56d038b9ba629ff0925e34af0c09
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