drivers/ub/urma/ubcore/ubcore_umem.c
0 → 100644
+259
−0
+16
−0
+23
−0
Loading
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:Guoxin Qian <qianguoxin@huawei.com> Signed-off-by:
Yizhen Fan <fanyizhen@huawei.com>