android: ion: free iova at buffer destruction time
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Tue, 27 Feb 2018 09:24:10 +0000 (18:24 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:24 +0000 (19:45 +0900)
commitf55d679d328c4ea4960d20f6d7648299fad0bba2
tree963c9fe18a41dc1754ff690462f8299cc28ca118
parentde0d6a5dfd29a6730dbcce79517c46ed42fd40f2
android: ion: free iova at buffer destruction time

In order to optimize the performance of ion_iovmm_unmap(), the actual
unmapping of the device virtual address is deferred. It is expected to
work at buffer destruction time, but this is missing. So unmapping code
is added to work properly.

Change-Id: Ie2dffa58df5125baf4a4e9723db241846e860443
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/staging/android/ion/ion_exynos.c