]> 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)
commit56215ac7c477bbe52d2023d3f6ff78423f506a52
treec5ea2cd8091863c002ef912190177a6a24230f5e
parentc7f848d7a95da75ec855c9049dbbfaa1933b53dd
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