summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_drv.c
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2016-04-22 16:30:47 +0900
committerInki Dae <daeinki@gmail.com>2016-05-10 23:11:42 +0900
commit5a0202f75803e9c366e5355de03a60d09c5d76d0 (patch)
tree6eee0ebfbdcdc02f35b36c7728b95de129e2460e /drivers/gpu/drm/exynos/exynos_drm_drv.c
parentfa9971d62a8cfc085b07b3eda1f45c236acc7d70 (diff)
downloadop-kernel-dev-5a0202f75803e9c366e5355de03a60d09c5d76d0.zip
op-kernel-dev-5a0202f75803e9c366e5355de03a60d09c5d76d0.tar.gz
drm/exynos: support gem_prime_mmap
This allows exported dma-bufs to be mapped using gem_prime_mmap. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_drv.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c
index 8ff355d..6c4dd49 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -431,6 +431,7 @@ static struct drm_driver exynos_drm_driver = {
.gem_prime_import_sg_table = exynos_drm_gem_prime_import_sg_table,
.gem_prime_vmap = exynos_drm_gem_prime_vmap,
.gem_prime_vunmap = exynos_drm_gem_prime_vunmap,
+ .gem_prime_mmap = exynos_drm_gem_prime_mmap,
.ioctls = exynos_ioctls,
.num_ioctls = ARRAY_SIZE(exynos_ioctls),
.fops = &exynos_drm_driver_fops,
OpenPOWER on IntegriCloud