]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Skip final clflush if LLC is coherent
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 18 Nov 2016 21:17:47 +0000 (21:17 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 18 Nov 2016 22:33:49 +0000 (22:33 +0000)
commitf82d90834e574c4093ce66693447c724f521072e
tree8f74cc48ec117a227596bcc291c9eba32c3f4a6d
parent12ca5e9f7c52c427ecf05db47fe26336a140baea
drm/i915: Skip final clflush if LLC is coherent

If the LLC is coherent with the object, we do not need to worry about
whether main memory and cache mismatch when we hand the object back to
the system.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161118211747.25197-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c