diff options
author | Jan Kara <jack@suse.cz> | 2015-07-20 05:03:35 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-16 13:15:58 -0300 |
commit | 63540f01917c0d8b03b9813a0d6539469b163139 (patch) | |
tree | 40db746f15285aa194bdbf832d65d1f00468bac5 /mm | |
parent | 6690c8c78c745239bb1f22b23f3889a0a14c249b (diff) | |
download | linux-63540f01917c0d8b03b9813a0d6539469b163139.tar.bz2 |
[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 'mm')
0 files changed, 0 insertions, 0 deletions