drm: Move drm_getmap into drm_bufs.c and give it a legacy prefix
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Apr 2016 17:29:36 +0000 (19:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 27 Apr 2016 06:42:48 +0000 (08:42 +0200)
commitec1f52efc0406a72870a1fcb859f18dea24bcd8b
tree39971b03d5e9b84704a9f90320d271095312a580
parent68dfbebab131146b460550cebf8c38667c490a04
drm: Move drm_getmap into drm_bufs.c and give it a legacy prefix

It belongs right next to the addmap and rmmap functions really. And
for OCD consistency name it drm_legacy_getmap_ioctl.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461691808-12414-4-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_bufs.c
drivers/gpu/drm/drm_ioctl.c
drivers/gpu/drm/drm_legacy.h