OSDN Git Service

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)
commit8e458fe2ee05cf3fb1fb6bf9857e71e15c4d7441
treee61a227ecb3361f9fd4aea032a9b7836cb4b0e30
parent829e8def7bd7b1e58028113ee5c2877da89d8f27
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]