mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
dma-buf: heaps: rk_cma_heap named cma-heap default to be "cma-heap"
The userland (gralloc or libdmaheap) fixed to use a heap name "cma-heap" to be the device name, without this patch, the dt file should named the cma default node name as "cma". otherwise it is defaultly to be "reserved" that make the userland fail to open the device. This patch fixes the cma-heap default name to "cma-heap". Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com> Change-Id: I09befb35bb8d4cd042b8c1c66c5d99c7d58fbbb6
This commit is contained in:
@@ -550,7 +550,7 @@ static int __add_cma_heap(struct cma *cma, void *data)
|
||||
return -ENOMEM;
|
||||
cma_heap->cma = cma;
|
||||
|
||||
exp_info.name = cma_get_name(cma);
|
||||
exp_info.name = "cma";
|
||||
exp_info.ops = &cma_heap_ops;
|
||||
exp_info.priv = cma_heap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user