summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2009-07-24 09:57:34 +0200
committerDave Airlie <airlied@redhat.com>2009-07-29 15:56:13 +1000
commit542c6f6df51327dbb180cf4d9b34827e147efe17 (patch)
tree04400fb93788c542e1222ba8f33f975090e59e3a /arch
parent4677f15c60421d48566c48c3149474e64977f071 (diff)
downloadop-kernel-dev-542c6f6df51327dbb180cf4d9b34827e147efe17.zip
op-kernel-dev-542c6f6df51327dbb180cf4d9b34827e147efe17.tar.gz
drm/ttm: Fix ttm in-kernel copying of pages with non-standard caching attributes.
For x86 this affected highmem pages only, since they were always kmapped cache-coherent, and this is fixed using kmap_atomic_prot(). For other architectures that may not modify the linear kernel map we resort to vmap() for now, since kmap_atomic_prot() generally uses the linear kernel map for lowmem pages. This of course comes with a performance impact and should be optimized when possible. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud