]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Propagate errors on awaiting already signaled fences
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Dec 2019 16:04:27 +0000 (16:04 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Dec 2019 19:09:40 +0000 (19:09 +0000)
commit607def56e15054617662167c1b235ed77bfe3643
treeffdc626874bd267492488fb66968c2804215730e
parentc8fcfe2069235257985c22ded24d7946889c305e
drm/i915: Propagate errors on awaiting already signaled fences

If we see an already signaled fence that we want to await on, we skip
adding to the i915_sw_fence. However, we should pay attention to whether
there was an error on that fence and if so propagate it for our future
request.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191206160428.1503343-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c