diff options
author | Jan Kara <jack@suse.cz> | 2015-07-20 10:03:35 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-16 18:15:58 +0200 |
commit | 63540f01917c0d8b03b9813a0d6539469b163139 (patch) | |
tree | 40db746f15285aa194bdbf832d65d1f00468bac5 /include/media | |
parent | [media] media: vb2: Remove unused functions (diff) | |
download | linux-63540f01917c0d8b03b9813a0d6539469b163139.tar.xz linux-63540f01917c0d8b03b9813a0d6539469b163139.zip |
[media] drm/exynos: Convert g2d_userptr_get_dma_addr() to use get_vaddr_frames()
Convert g2d_userptr_get_dma_addr() to pin pages using get_vaddr_frames().
This removes the knowledge about vmas and mmap_sem locking from exynos
driver. Also it fixes a problem that the function has been mapping user
provided address without holding mmap_sem.
Acked-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions