]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Skip clflushes for all non-page backed objects
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Feb 2017 11:40:47 +0000 (11:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Feb 2017 12:12:14 +0000 (12:12 +0000)
commit0d2419ea7ca04995490769123bca0d39ea6d7073
treec5ea2cd8091863c002ef912190177a6a24230f5e
parent6f981ce0404812b8cbd8bd47305f421651413e39
drm/i915: Skip clflushes for all non-page backed objects

Generalise the skip for physical and stolen objects by skipping anything
we do not have a valid address for inside the sg.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170222114049.28456-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c