]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Tidy awaiting on dma-fences
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 May 2020 07:57:07 +0000 (08:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 May 2020 11:56:45 +0000 (12:56 +0100)
commita80d73673bc7676d0bab7f7ab51d00c5e461992d
treee1b2c3ef5ab220f4cd416fff0a196c904c61bf14
parente31fe02eff2610f40ac8d7efe57ec0b881b75508
drm/i915: Tidy awaiting on dma-fences

Just tidy up the return handling for completed dma-fences. While it may
return errors for invalid fence, we already know that we have a good
fence and the only error will be an already signaled fence.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200511075722.13483-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_sw_fence.c