]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Mark legacy ring context as lost
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Dec 2020 08:02:20 +0000 (08:02 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Dec 2020 21:16:26 +0000 (21:16 +0000)
commita4775069ba89940ddbfff5d34fc2dbb687b4516b
treeaa58b018387016f09c385d60e55c5d06446cf411
parent40d11e1134f0bcb247f0bf9d826e78e008812000
drm/i915/gt: Mark legacy ring context as lost

When we reset the legacy ring context, due to potential corruption over
suspend/resume, remove the valid bit so that we avoid loading garbage.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201210080240.24529-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_ring_submission.c