]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Propagate fence errors
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 17 Aug 2019 23:25:11 +0000 (00:25 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 18 Aug 2019 11:38:09 +0000 (12:38 +0100)
commit605804afa3b13709cb7a15e30173b932fcb731e6
tree064ee2e5fc17fad4114e59d25e4c4b9095afe5bc
parentd9c7b1504e74f505e1707611f8fc8691f201380b
drm/i915: Propagate fence errors

Errors spread like wildfire, and must eventually be returned to the
user. They need to be captured and passed along the flow of fences,
infecting each in turn with the existing error, until finally they fall
out of a user visible result.

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/20190817232511.11391-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/i915_sw_fence.c
drivers/gpu/drm/i915/i915_sw_fence.h
drivers/gpu/drm/i915/selftests/lib_sw_fence.c