summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/exynos_drm_drv.c
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2012-05-04 15:51:17 +0900
committerInki Dae <inki.dae@samsung.com>2012-05-08 18:46:32 +0900
commit40cd7e0c02f37af4b44fc00531873832e45587e9 (patch)
treed941353be010a62e1a2154a54b5b11a73c4ca6a3 /drivers/gpu/drm/exynos/exynos_drm_drv.c
parentb2df26c10b16afe2eed904f2b85a4d2047531d30 (diff)
downloadlinux-3.10-40cd7e0c02f37af4b44fc00531873832e45587e9.tar.gz
linux-3.10-40cd7e0c02f37af4b44fc00531873832e45587e9.tar.bz2
linux-3.10-40cd7e0c02f37af4b44fc00531873832e45587e9.zip
drm/exynos: added a feature to get gem buffer information.
this patch adds a feature to get a gem buffer information and user application can get the gem buffer information simply in runtime through gem handle. Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_drv.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c
index f58a487e442..b7a2869582f 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -211,6 +211,8 @@ static struct drm_ioctl_desc exynos_ioctls[] = {
DRM_AUTH),
DRM_IOCTL_DEF_DRV(EXYNOS_GEM_MMAP,
exynos_drm_gem_mmap_ioctl, DRM_UNLOCKED | DRM_AUTH),
+ DRM_IOCTL_DEF_DRV(EXYNOS_GEM_GET,
+ exynos_drm_gem_get_ioctl, DRM_UNLOCKED),
DRM_IOCTL_DEF_DRV(EXYNOS_PLANE_SET_ZPOS, exynos_plane_set_zpos_ioctl,
DRM_UNLOCKED | DRM_AUTH),
DRM_IOCTL_DEF_DRV(EXYNOS_VIDI_CONNECTION,