diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-08-29 14:12:28 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-09-10 11:11:30 +0400 |
commit | 9fc5cde7fb6699b0a75e90b7cbfee7c912dd94c2 (patch) | |
tree | e9b484002d7730cebdb9825c6d7d476ab021aeca /drivers/gpu/drm/drm_drv.c | |
parent | 9f50bd8905ab12e3e8ebffd8296d7921bd3976eb (diff) | |
download | linux-9fc5cde7fb6699b0a75e90b7cbfee7c912dd94c2.tar.xz |
drm: mark drm_buf and drm_map as legacy
Move internal declarations to drm_legacy.h and add drm_legacy_*() prefix
to all legacy functions.
[airlied: add a bit of an explaination to drm_legacy.h]
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_drv.c')
-rw-r--r-- | drivers/gpu/drm/drm_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index 3242e208c0d0..b1587e2e10fc 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -143,7 +143,7 @@ static void drm_master_destroy(struct kref *kref) list_for_each_entry_safe(r_list, list_temp, &dev->maplist, head) { if (r_list->master == master) { - drm_rmmap_locked(dev, r_list->map); + drm_legacy_rmmap_locked(dev, r_list->map); r_list = NULL; } } @@ -779,7 +779,7 @@ void drm_dev_unregister(struct drm_device *dev) drm_vblank_cleanup(dev); list_for_each_entry_safe(r_list, list_temp, &dev->maplist, head) - drm_rmmap(dev, r_list->map); + drm_legacy_rmmap(dev, r_list->map); drm_minor_unregister(dev, DRM_MINOR_LEGACY); drm_minor_unregister(dev, DRM_MINOR_RENDER); |