Thomas Hellstrom 542c6f6df5 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>
2009-07-29 15:56:13 +10:00
..
2009-06-23 01:54:30 -04:00
2009-06-16 19:50:13 -07:00
2009-06-17 09:35:24 -07:00
2009-07-03 15:45:29 +01:00
2009-06-16 19:50:13 -07:00
2009-07-02 13:16:46 -07:00
2009-07-03 15:45:29 +01:00
2009-06-30 18:56:00 -07:00
2009-06-18 13:04:04 -07:00
2009-07-06 13:57:03 -07:00
2009-06-30 18:56:00 -07:00
2009-07-01 11:19:47 +02:00
2009-06-18 13:04:04 -07:00
2009-06-18 13:04:04 -07:00