Hi,

I am new to V4L2 kernel framework. And currently trying to understand V4L2
kernel sub-system.
In videobuf2 sub-system, before calling 'vb2_queue_init(q)',  q's mem_ops is
being initialized (depending on type of buffer) as

q->mem_ops = &vb2_vmalloc_memops;
or
q->mem_ops = &vb2_dma_contig_memops

What is the purpose of these memory operations?
If user space is allocating the buffer (physically contiguous) via some other
kernel driver (hwmem - for android). Even then do we need to set mem_ops =
vb2_dma_contig_memops?


Thanks,
Chetan Nanda
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to