]> 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)
commitf2d1fb2fca6b93a2c7db4491f2bda6b8550b1acc
treee61a227ecb3361f9fd4aea032a9b7836cb4b0e30
parentcc0d70b948d2dd5d75a987ef3d38015a24254311
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]