]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Pull waiting on an external dma-fence into its routine
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 May 2020 09:29:26 +0000 (10:29 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 May 2020 11:39:05 +0000 (12:39 +0100)
commitac938052e571a84b40a17ed21d71b3d827cf0236
treed59901a212678cbf0fb25c4508a28471678bc54a
parent2045d666ae634f1676660acfb864bcba0e9f86ca
drm/i915: Pull waiting on an external dma-fence into its routine

As a means for a small code consolidation, but primarily to start
thinking more carefully about internal-vs-external linkage, pull the
pair of i915_sw_fence_await_dma_fence() calls into a common routine.

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/20200508092933.738-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c