[MEM/CMA] Bug fix in cma wrappers for dmabuf map/unmap
authorDongju Chae <dongju.chae@samsung.com>
Mon, 4 Nov 2019 07:13:41 +0000 (16:13 +0900)
committer송욱/On-Device Lab(SR)/Staff Engineer/삼성전자 <wook16.song@samsung.com>
Mon, 4 Nov 2019 07:57:32 +0000 (16:57 +0900)
commit565c04b0b746df354cfd2be4a7b42e28816fe9b1
treefb5c32df28c66e138ceb300ba4195ccd45199cec
parent9040a758e16b2c3064f162d2d1e2eb0066003692
[MEM/CMA] Bug fix in cma wrappers for dmabuf map/unmap

This commit fixes the bug in cma wrappers for dmabuf map/unmap.

Because buffers are often resized, we need to carefully maintain the dmabuf/handle mapping.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
src/core/ne-mem.c