]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Propagate errors on awaiting already signaled dma-fences
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Dec 2019 16:04:28 +0000 (16:04 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Dec 2019 19:09:46 +0000 (19:09 +0000)
commit53af555918a2c495d1c624ccc7040511e375a6f3
tree347e1638404401c34d83e96c8b62db32399bdf9d
parent131a8c62b55178730ad63bc49d3a3b94c2831251
drm/i915: Propagate errors on awaiting already signaled dma-fences

If we see an already signaled dma-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-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_sw_fence.c