summaryrefslogtreecommitdiffstats
path: root/include/linux/pagemap.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-03-25 19:47:40 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-03-27 13:30:33 +0200
commitd174bd6472d79fb5603dc8bd35e5184d83194ea8 (patch)
tree218fdb2a65ba8b22ebdc7c53ea7b51b11bf55a52 /include/linux/pagemap.h
parent117babcdd51ed8a9bb8d4921b292918acb6e0d70 (diff)
downloadop-kernel-dev-d174bd6472d79fb5603dc8bd35e5184d83194ea8.zip
op-kernel-dev-d174bd6472d79fb5603dc8bd35e5184d83194ea8.tar.gz
drm/i915: extract copy helpers from shmem_pread|pwrite
While moving around things, this two functions slowly grew out of any sane bounds. So extract a few lines that do the copying and clflushing. Also add a few comments to explain what's going on. v2: Again do s/needs_clflush/needs_clflush_after/ in the write paths as suggested by Chris Wilson. Tested-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/pagemap.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud