Jan. 24, 2014
9:29 p.m.
Hi, I need help in using dma_buf_kmap. https://www.kernel.org/doc/htmldocs/device-drivers/API-dma-buf-kmap.html I create a dma buffer in user side, size is 307200 and I want to map that to kernel so that my driver can access it. I have a dma_buf pointer, so I think I need to use dma_buf_kmap. My question is what should I pass to the 2nd parameter of (page in PAGE_SIZE units to map) dma_buf_kmap? I want the whole dma_buf to be accessible. Thank you for your help.
4587
Age (days ago)
4587
Last active (days ago)
0 comments
1 participants
participants (1)
-
m silverstri