diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2016-04-22 16:30:47 +0900 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2016-05-10 23:11:42 +0900 |
commit | 5a0202f75803e9c366e5355de03a60d09c5d76d0 (patch) | |
tree | 6eee0ebfbdcdc02f35b36c7728b95de129e2460e /drivers/gpu/drm/exynos/exynos_drm_gem.h | |
parent | fa9971d62a8cfc085b07b3eda1f45c236acc7d70 (diff) | |
download | blackbird-op-linux-5a0202f75803e9c366e5355de03a60d09c5d76d0.tar.gz blackbird-op-linux-5a0202f75803e9c366e5355de03a60d09c5d76d0.zip |
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_gem.h')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.h b/drivers/gpu/drm/exynos/exynos_drm_gem.h index 00223052b87b..895125431227 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.h +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.h @@ -139,5 +139,7 @@ exynos_drm_gem_prime_import_sg_table(struct drm_device *dev, struct sg_table *sgt); void *exynos_drm_gem_prime_vmap(struct drm_gem_object *obj); void exynos_drm_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr); +int exynos_drm_gem_prime_mmap(struct drm_gem_object *obj, + struct vm_area_struct *vma); #endif |