summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-07-24 21:10:03 +0200
committerChanho Park <chanho61.park@samsung.com>2014-11-21 19:13:43 +0900
commit4972f3aff1f3c8d989ac956573eb892df77a1c91 (patch)
tree349ddce5487e51363c6de404cb348cc56ec988d5 /samples
parent04e417d574f411f7d059a51c45bdb35727b4f637 (diff)
downloadlinux-3.10-4972f3aff1f3c8d989ac956573eb892df77a1c91.tar.gz
linux-3.10-4972f3aff1f3c8d989ac956573eb892df77a1c91.tar.bz2
linux-3.10-4972f3aff1f3c8d989ac956573eb892df77a1c91.zip
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> Conflicts: drivers/gpu/drm/ttm/ttm_bo.c Change-Id: I4be1eeef8e5b4e81b5966449e2bf3691d8270aae
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions