]> 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)
commita261f11add37f93e07067354500d8c50b3fbbb08
tree347e1638404401c34d83e96c8b62db32399bdf9d
parent607def56e15054617662167c1b235ed77bfe3643
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