how to mmap which using dma_map_sg() alloc dma buf
hi, all:
i have a question, who would like to help me.
i am writing a video card driver, it support scatter DMA, so i want to using scatterlist and dma_map_sg() to alloc the dma buf, but now i dont know how to write the mmap() function. i see other code using remap_pfn_range(). but in the video_dma_sg.c, __videobuf_mmap_mapper() have not call remap_pfn_range(), why?
Thx,
Figo
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list