]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: Control cache domain of dma_map_page() directly
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 12:26:11 +0000 (13:26 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jul 2018 15:02:46 +0000 (16:02 +0100)
commite2bea71f363c984c9510a3a400f76a46d9687692
treed7c4eb7c129fad4d2ab4f4c76d0f98acf39fb888
parenta0cee1946fe7314dc2031b561217a5e895e9bc62
drm/i915/gtt: Control cache domain of dma_map_page() directly

We already maually control the CPU cache for our page table directories,
so we can tell the dma mapper to skip doing it as well.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180706122611.4142-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c