]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/exynos: use DMA_ATTR_NO_KERNEL_MAPPING attribute
authorInki Dae <inki.dae@samsung.com>
Fri, 7 Dec 2012 08:51:27 +0000 (17:51 +0900)
committerInki Dae <daeinki@gmail.com>
Thu, 13 Dec 2012 14:05:45 +0000 (06:05 -0800)
commit4744ad2414bd890d37a99df4726be733137aa3f7
tree3c06797a1a8899d5687064aff27030e2d1b2f80b
parent662aa6d7632cab054277bafda67d13d9a8a81929
drm/exynos: use DMA_ATTR_NO_KERNEL_MAPPING attribute

Changelog v3:
just code cleanup.

Changelog v2:
fix argument to dma_mmap_attr function.
- use pages instead of kvaddr because kvaddr is 0 with
  DMA_ATTR_NO_KERNEL_MAPPING.

Changelog v1:
When gem allocation is requested, kernel space mapping isn't needed.
But if need, such as console framebuffer, the physical pages would be
mapped with kernel space though vmap function.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_buf.c
drivers/gpu/drm/exynos/exynos_drm_fb.c
drivers/gpu/drm/exynos/exynos_drm_fbdev.c
drivers/gpu/drm/exynos/exynos_drm_gem.c
drivers/gpu/drm/exynos/exynos_drm_gem.h