drm: move "struct drm_vma_entry" to drm_vm.c
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 29 Aug 2014 10:12:29 +0000 (12:12 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Sep 2014 07:13:36 +0000 (17:13 +1000)
commit03decbe57ac6c9e632f7cde0f7d0a54bbcaf8464
tree177436526b40cbc2c29c99ea9f6e14de248fd99b
parent9fc5cde7fb6699b0a75e90b7cbfee7c912dd94c2
drm: move "struct drm_vma_entry" to drm_vm.c

Make all the drm_vma_entry handling local to drm_vm.c and hide it from
global headers. This requires to extract the inlined legacy drm_vma_entry
cleanup into a small helper and also move a weirdly placed drm_vma_info
helper into drm_vm.c.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fops.c
drivers/gpu/drm/drm_info.c
drivers/gpu/drm/drm_vm.c
include/drm/drmP.h