From: Chris Wilson Date: Fri, 7 Mar 2014 08:30:37 +0000 (+0000) Subject: drm/i915: Do not force non-caching copies for pwrite along shmem path X-Git-Tag: v3.15-rc1~51^2~18^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2831a94b5e77a407db0708816949d4a87416a8e;p=pandora-kernel.git drm/i915: Do not force non-caching copies for pwrite along shmem path We don't always want to write into main memory with pwrite. The shmem fast path in particular is used for memory that is cacheable - under such circumstances forcing the cache eviction is undesirable. As we will always flush the cache when targeting incoherent buffers, we can rely on that second pass to apply the cache coherency rules and so benefit from in-cache copies otherwise. Signed-off-by: Chris Wilson Reviewed-by: Brad Volkin Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed