summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_guc_submission.c
diff options
context:
space:
mode:
authorChris Wilson2016-07-20 10:21:10 +0200
committerChris Wilson2016-07-20 10:29:53 +0200
commitc4b0930bf418d5fab1d75ab462f0a7ff155f1b33 (patch)
treec9f779e05baa867c738ef186f20a7ffaacb0974a /drivers/gpu/drm/i915/i915_guc_submission.c
parentdrm/i915: Retire oldest completed request before allocating next (diff)
downloadkernel-qcow2-linux-c4b0930bf418d5fab1d75ab462f0a7ff155f1b33.tar.gz
kernel-qcow2-linux-c4b0930bf418d5fab1d75ab462f0a7ff155f1b33.tar.xz
kernel-qcow2-linux-c4b0930bf418d5fab1d75ab462f0a7ff155f1b33.zip
drm/i915: Mark all current requests as complete before resetting them
Following a GPU reset upon hang, we retire all the requests and then mark them all as complete. If we mark them as complete first, we both keep the normal retirement order (completed first then retired) and provide a small optimisation for concurrent lookups. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1469002875-2335-3-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_guc_submission.c')
0 files changed, 0 insertions, 0 deletions