]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Generalise the clflush dma-worker
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Aug 2019 19:16:06 +0000 (20:16 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 22 Aug 2019 07:27:44 +0000 (08:27 +0100)
commit5e691e2ab6a752a8a047ffa853db63190052b3de
treee61a227ecb3361f9fd4aea032a9b7836cb4b0e30
parent067f195a7a4581c024386032516efb026e9c0e29
drm/i915: Generalise the clflush dma-worker

Extract the dma-fence worker used by clflush for wider use, as we
anticipate using workers coupled to dma-fences more frequently.

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/20190821191606.17001-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gem/i915_gem_clflush.c
drivers/gpu/drm/i915/i915_sw_fence_work.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_sw_fence_work.h [new file with mode: 0644]