summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/selftests/i915_random.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-02-12 20:20:02 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-02-13 14:19:12 +0300
commit2ae557388d9feb7049ee311ab1b36bb4c6f6feb6 (patch)
treefbfe104987210d1d5a8fdc464ada9bb63e812c08 /drivers/gpu/drm/i915/selftests/i915_random.c
parentfe3288b5da2c1286a7aac1fb1b2234caa752a81b (diff)
downloadlinux-2ae557388d9feb7049ee311ab1b36bb4c6f6feb6.tar.xz
drm/i915: Clear the last_retired_context following a hang/reset
Following a hang and reset, we know that the engine is idle and all context state has been saved or lost. Consequently, we know that the engine is no longer referencing the last context and we can relinquish our tracking. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@intel.com> Cc: Tvrtko Ursulin <tursulin@ursulin.net> Link: http://patchwork.freedesktop.org/patch/msgid/20170212172002.23072-5-chris@chris-wilson.co.uk Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_random.c')
0 files changed, 0 insertions, 0 deletions