diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-07-24 21:10:03 +0200 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2013-07-25 20:47:08 +1000 |
commit | 51335df9f044ccfafb029f4d7fbeb11c4526340a (patch) | |
tree | b2875ee2e4ab79a10c84bdff6a558b336be86838 /drivers/video/fb_notify.c | |
parent | 72525b3f333de54fa0c42ef87f27861e41478f1e (diff) |
drm/vma: provide drm_vma_node_unmap() helper
Instead of unmapping the nodes in TTM and GEM users manually, we provide
a generic wrapper which does the correct thing for all vma-nodes.
v2: remove bdev->dev_mapping test in ttm_bo_unmap_virtual_unlocked() as
ttm_mem_io_free_vm() does nothing in that case (io_reserved_vm is 0).
v4: Fix docbook comments
v5: use drm_vma_node_size()
Cc: Dave Airlie <airlied@redhat.com>
Cc: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/video/fb_notify.c')
0 files changed, 0 insertions, 0 deletions