aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2015-07-20 08:03:35 +0000
committerMauro Carvalho Chehab <[email protected]>2015-08-16 16:15:58 +0000
commit63540f01917c0d8b03b9813a0d6539469b163139 (patch)
tree40db746f15285aa194bdbf832d65d1f00468bac5 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parent[media] media: vb2: Remove unused functions (diff)
downloadkernel-63540f01917c0d8b03b9813a0d6539469b163139.tar.gz
kernel-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 <[email protected]> Signed-off-by: Jan Kara <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions