android: ion: add ion_iovmm_[un]map()
authorCho KyongHo <pullip.cho@samsung.com>
Mon, 12 Feb 2018 02:19:32 +0000 (11:19 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:23 +0000 (19:45 +0900)
commit70c9d8317b234b13492af2d481dfc6dea95a7d8e
treef048085ec8cce3643e4b2b7b7d0f00094eaf6a4a
parentea2ed74a9f70938d54de0f4fa415799497e6e669
android: ion: add ion_iovmm_[un]map()

iovmm_map() provided by exynos-iovmm is time-consuming. If the same
buffer is iovm mapped to a device, iovmm_map() does the same thing
with much time. iovmm_map() is not able to avoid this repeat because
it has no information to identify a buffer. Thus, ION provides the
avoidance of repeating mapping the same buffer.

Change-Id: I4c62f615dca6dfb5f8d2fe366ccc0a89af1d485e
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion.h
drivers/staging/android/ion/ion_exynos.c
include/linux/ion_exynos.h