summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-03-07 08:30:37 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-08 00:03:26 +0100
commitc2831a94b5e77a407db0708816949d4a87416a8e (patch)
treed4f3a38b8e67c1515ab80997dda41b6a339ae440 /drivers/gpu/drm/i915/i915_reg.h
parent17793c9a4659b272a9f892d44940062ed8b5fd0e (diff)
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 <chris@chris-wilson.co.uk> Reviewed-by: Brad Volkin <bradley.d.volkin@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
0 files changed, 0 insertions, 0 deletions