drm/i915: Move cpu_cache_is_coherent() to header
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Feb 2017 11:40:45 +0000 (11:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Feb 2017 12:12:12 +0000 (12:12 +0000)
commite59dc1721180b9499ce409945667763628c678c8
tree18ee02116165f706ee2a7f6a170a4fc67c6296f1
parent208b84a3757e15a1c002820aefa941a3293b9efa
drm/i915: Move cpu_cache_is_coherent() to header

For use in the next patch, take the current is-coherent helper and add
it to i915_gem_object.h

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170222114049.28456-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c