mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-19 13:50:48 +00:00
![]() When using VB2_DMABUF, the relationship between dma-buf and v4l2 buffer may not one-to-one, a single dma-buf may be queued via different v4l2 buffers, and different dma-bufs may be queued via the same v4l2 buffer, so it's not appropriate to use the v4l2 buffer index as the frame store id. We can generate a frame store id according to the dma address. Then for a given dma-buf, the id is fixed. Driver now manages the frame store and vb2-buffer states independently. When a dmabuf is queued via another v4l2 buffer before the buffer is released by firmware, need to pend it until firmware release it. Signed-off-by: Ming Qian <ming.qian@oss.nxp.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
vdec.c | ||
venc.c | ||
vpu.h | ||
vpu_cmds.c | ||
vpu_cmds.h | ||
vpu_codec.h | ||
vpu_color.c | ||
vpu_core.c | ||
vpu_core.h | ||
vpu_dbg.c | ||
vpu_defs.h | ||
vpu_drv.c | ||
vpu_helpers.c | ||
vpu_helpers.h | ||
vpu_imx8q.c | ||
vpu_imx8q.h | ||
vpu_malone.c | ||
vpu_malone.h | ||
vpu_mbox.c | ||
vpu_mbox.h | ||
vpu_msgs.c | ||
vpu_msgs.h | ||
vpu_rpc.c | ||
vpu_rpc.h | ||
vpu_v4l2.c | ||
vpu_v4l2.h | ||
vpu_windsor.c | ||
vpu_windsor.h |