OSDN Git Service

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)
commit9e31c1fe45d555a948ff66f1f0e3fe1f83ca63f7
treeffdc626874bd267492488fb66968c2804215730e
parent5e6a94713be051c491cd47c85263661af07b629c
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