staging: android: ion: Combine cache and uncache pools
authorYisheng Xie <xieyisheng1@huawei.com>
Mon, 12 Feb 2018 10:43:14 +0000 (18:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 16:29:07 +0000 (17:29 +0100)
commitd92a1fabde96306927fa053acf5a714b4dafce85
tree2f3414849d1b8d1ffbfd86031ea9f3da94205330
parentacb42f8e89efcf116aa56f4be31776d809e8aa79
staging: android: ion: Combine cache and uncache pools

Now we call dma_map in the dma_buf API callbacks and handle explicit
caching by the dma_buf sync API, which make cache and uncache pools
in the same handling flow, which can be combined.

Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion.h
drivers/staging/android/ion/ion_page_pool.c
drivers/staging/android/ion/ion_system_heap.c