Commit f6206cf0 authored by Yizhen Fan's avatar Yizhen Fan Committed by fanyizhen1995
Browse files

ub: add memory map api in ubcore



driver inclusion
category: feature
bugzilla: NA
CVE: NA

--------------------------------

Add ubcore_umem_get and ubcore_umem_release api,
which support hw drivers use it to register physical memory and dma map it
for jetty queue and segment.

Input parameter:
dev: contains vendor-defined private device data.
va: specifies the VA address to be mapped.
len: length of the address space to be allocated and mapped by DMA.
flag: indicates the flag.

Signed-off-by: default avatarGuoxin Qian <qianguoxin@huawei.com>
Signed-off-by: default avatarYizhen Fan <fanyizhen@huawei.com>
parent cffcf228
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment