How to get the virtual address form dma fd?

I use multimeidaapi to write my code. I use NvBufferCreateEx to allocate memory. How to get the virtual address form dma fd? Because I have to dock the original project’s interface. It need to the virtual address.For example, GetData(char* data) I need to finish the function GetData by using multimeidaapi.

Hi,
We don’t have API in userspace for this use-case. Please check discussion in
How to get physical address from the dmabuf_fd?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.