How can I get physical address from a struct dma_buf
Feb. 7, 2014
8:02 p.m.
Hi, If I have a struct dma_buf dma buffer, how can I the physical address?
Feb. 11, 2014
12:09 p.m.
how about using define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) or virt_to_phys () On Sat, Feb 8, 2014 at 1:32 AM, m silverstri <michael.j.silverstri@gmail.com> wrote:
Hi,
If I have a struct dma_buf dma buffer, how can I the physical address?
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
4567
Age (days ago)
4571
Last active (days ago)
1 comments
2 participants
participants (2)
-
m silverstri -
naveen yadav