aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_breadcrumbs.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-02-23 07:44:07 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-02-23 14:49:25 +0000
commit309663ab7b4f0de1540aff212fd067e3dd92acf3 (patch)
tree77a7f2071bed4b517512a4c061cb8ad7cf7ae0ac /drivers/gpu/drm/i915/intel_breadcrumbs.c
parentRevert "drm/i915/dp: Ratelimit DP aux timeout messages" (diff)
downloadlinux-dev-309663ab7b4f0de1540aff212fd067e3dd92acf3.tar.xz
linux-dev-309663ab7b4f0de1540aff212fd067e3dd92acf3.zip
drm/i915: Check against the signaled bit for fences/requests
When dma_fence_signal() is called, it sets a flag to indicate the fence is complete. Before the dma_fence is signaled, the seqno check will first be passed. During an unlocked check (such as inside a waiter), it is possible for the fence to be signaled even though the seqno has been reset (by engine wraparound). In this case the waiter will be kicked, but for an extra layer of protection we can check the persistent signaled bit from the fence. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170223074422.4125-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_breadcrumbs.c')
0 files changed, 0 insertions, 0 deletions