drm: Make ioctls available for in-kernel clients
authorNoralf Trønnes <noralf@tronnes.org>
Mon, 18 Jun 2018 14:17:30 +0000 (16:17 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Mon, 25 Jun 2018 14:20:14 +0000 (16:20 +0200)
commitd30827ce0df4410648c3fbba48681d7aafb19f36
treeae3259daaecfec1cb6d4c13833db43812eb29302
parent7eeaeb90a6a5c8dc0de9bbb16a12d474d31d820e
drm: Make ioctls available for in-kernel clients

Make ioctl wrappers for functions that will be used by the in-kernel API.
The following functions are touched:
- drm_mode_create_dumb_ioctl()
- drm_mode_destroy_dumb_ioctl()
- drm_mode_addfb()
- drm_mode_rmfb()

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180618141739.48151-4-noralf@tronnes.org
drivers/gpu/drm/drm_crtc_internal.h
drivers/gpu/drm/drm_dumb_buffers.c
drivers/gpu/drm/drm_framebuffer.c
drivers/gpu/drm/drm_ioctl.c