]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca131fc3356ea853b0c0c9b2d33ce2ce9a27b5a7
tree2f3414849d1b8d1ffbfd86031ea9f3da94205330
parent11b2ce13d788ef3e65798dc5493b160cb62cc2eb
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