aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_gvt.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-09-21 22:09:03 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-09-22 12:47:59 +0100
commita3df2c857c103b1103c9d578d68193a6fbe63c61 (patch)
tree25553efb2c96cf7087995ecd24773c646b2090b8 /drivers/gpu/drm/i915/intel_gvt.c
parentdrm/i915: Check waiter->seqno carefully in case of preemption (diff)
downloadlinux-dev-a3df2c857c103b1103c9d578d68193a6fbe63c61.tar.xz
linux-dev-a3df2c857c103b1103c9d578d68193a6fbe63c61.zip
drm/i915: Confirm request->global_seqno after spin completion
After we see our target seqno has been completed by the hw, we need to confirm that it still matches the request (as it may have been preempted before the spin completes). If the request no longer matches the target seqno, we need to restart the wait to reacquire that seqno. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Michal Winiarski <michal.winiarski@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170921210903.18337-1-chris@chris-wilson.co.uk Reviewed-by: MichaƂ Winiarski <michal.winiarski@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_gvt.c')
0 files changed, 0 insertions, 0 deletions