Hi Marek and Laurent,

I am working on v4l2 drivers for blackfin which is a no mmu soc.
I found videobuf allocate memory in mmap not reqbuf, so I turn to videobuf2.
But __setup_offsets() use plane offset to fill m.offset, which is
always 0 for single-planar buffer.
So pgoff in get_unmapped_area callback equals 0.
I only found uvc handled get_unmapped_area for no mmu system, but it
manages buffers itself.
I really want videobuf2 to manage buffers. Please give me some advice.

Thanks.
Regards,
Scott
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to