[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1476865457-506-1-git-send-email-thierry.escande@collabora.com>
Date: Wed, 19 Oct 2016 10:24:15 +0200
From: Thierry Escande <thierry.escande@...labora.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
Pawel Osciak <pawel@...iak.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Kyungmin Park <kyungmin.park@...sung.com>
Subject: [PATCH 0/2] [media] DMA direction support in vb2_queue
Hi,
This series adds a dma_dir field to the vb2_queue structure in order to
store the DMA direction once for all in vb2_queue_init();
It also adds a new capture_dma_bidirectional flag to the vb2_queue
structure allowing the hardware to read from the CAPTURE buffer. This
flag is ignored for OUTPUT queues. This is used on ChromeOS by the
rockchip-vpu driver.
Changes since v1:
- Renamed use_dma_bidirectional field as capture_dma_bidirectional
- Added a VB2_DMA_DIR() macro
Pawel Osciak (2):
[media] vb2: Store dma_dir in vb2_queue
[media] vb2: Add support for capture_dma_bidirectional queue flag
drivers/media/v4l2-core/videobuf2-core.c | 12 +++---------
drivers/media/v4l2-core/videobuf2-v4l2.c | 6 ++++++
include/media/videobuf2-core.h | 6 ++++++
3 files changed, 15 insertions(+), 9 deletions(-)
--
2.7.4
Powered by blists - more mailing lists