drm/ttm: Use VM_PFNMAP for shared bo maps
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 3 Jan 2014 08:21:54 +0000 (09:21 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 8 Jan 2014 08:53:12 +0000 (09:53 +0100)
commit7dfe8b6187f43d791229b1f8eef9b7fa872f7195
tree9242269f1c1b31608b7510ad612e34a0692ec9d2
parent859ae233cd0ee76b6143f948ba1cb6b0b4c342f8
drm/ttm: Use VM_PFNMAP for shared bo maps

VM_PFNMAP is faster than VM_MIXEDMAP due to reduced page administration so
use it for shared maps where we don't have any Copy-On-Write pages. For
private maps, we continue to use VM_MIXEDMAP.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/ttm/ttm_bo_vm.c