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)
commitf6aaba4dfbc8eaa1b2b756b989fb423a789ee4e8
treec5ea2cd8091863c002ef912190177a6a24230f5e
parent5a97bcc69cc02d4da9599ed2c256b65fc3bd4ee7
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