drm/exynos: add DRM_EXYNOS_GEM_MAP ioctl
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 8 Mar 2016 05:12:59 +0000 (14:12 +0900)
committerInki Dae <daeinki@gmail.com>
Sun, 13 Mar 2016 05:54:03 +0000 (14:54 +0900)
commit6564c65f3a2b75832957e53bcc3c6066d1d73487
treeb688f8fa99a0f2606769059cea323859c934a511
parent550e3b23a53c88adfa46e64f9d442743e65d47da
drm/exynos: add DRM_EXYNOS_GEM_MAP ioctl

The commit d931589c01a2 ("drm/exynos: remove DRM_EXYNOS_GEM_MAP_OFFSET
ioctl") removed it same with the ioctl that this patch adds. The reason
that removed DRM_EXYNOS_GEM_MAP_OFFSET was we could use
DRM_IOCTL_MODE_MAP_DUMB. Both did exactly same thing.

Now we again will revive it as DRM_EXYNOS_GEM_MAP because of render
node. DRM_IOCTL_MODE_MAP_DUMB isn't permitted in render node.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/exynos/exynos_drm_gem.c
drivers/gpu/drm/exynos/exynos_drm_gem.h
include/uapi/drm/exynos_drm.h