drm/exynos: add DRM_EXYNOS_GEM_MAP ioctl
authorJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 2 Oct 2015 07:38:34 +0000 (16:38 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 31 Mar 2016 07:59:35 +0000 (16:59 +0900)
commitdd5fba0716188db8fa1bd9f606df93ccf12884b5
tree4946ca0647b39100faa9f453ca0008edba8500d4
parentd5700ce0bef6e84ab3dcce882815ff2e272234ee
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.

Change-Id: I6900f89aa1f14ab06f56e257c4e77639cba8d5c7
Signed-off-by: Joonyoung Shim <jy0922.shim@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