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