]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Always prefer CPU relocations with LLC
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 26 Aug 2013 22:51:00 +0000 (19:51 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Sep 2013 15:34:43 +0000 (17:34 +0200)
commit26e8399748cf4f7cb3cb616f4a794b3f5952f47f
tree7c835b037db72dd6580b5621af89961eec3e1ded
parentb27deeda675ae04986eb1d484232f0b4fad6006f
drm/i915: Always prefer CPU relocations with LLC

A follow-on to the update of the LLC coherency logic is that we can rely
on the LLC being coherent with the CS for rewriting batchbuffers
irrespective of their cache domain. (This should have no effect
currently as all the batch buffers are expected to be I915_CACHE_LLC and
so using the cpu relocation path anyway.)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c