Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1500884

[PATCH 0/2] [media] DMA direction support in vb2_queue

From Thierry Escande <thierry.escande@collabora.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] [media] DMA direction support in vb2_queue
Date 2016-10-14 14:20 +0200
Message-ID <ss9CW-197-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 use_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.

Pawel Osciak (2):
  [media] vb2: Store dma_dir in vb2_queue
  [media] vb2: Add support for use_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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] [media] DMA direction support in vb2_queue Thierry Escande <thierry.escande@collabora.com> - 2016-10-14 14:20 +0200
  [PATCH 1/2] [media] vb2: Store dma_dir in vb2_queue Thierry Escande <thierry.escande@collabora.com> - 2016-10-14 14:20 +0200
  [PATCH 2/2] [media] vb2: Add support for use_dma_bidirectional queue flag Thierry Escande <thierry.escande@collabora.com> - 2016-10-14 14:20 +0200
    Re: [PATCH 2/2] [media] vb2: Add support for use_dma_bidirectional  queue flag Sakari Ailus <sakari.ailus@iki.fi> - 2016-10-17 12:20 +0200
      Re: [PATCH 2/2] [media] vb2: Add support for use_dma_bidirectional  queue flag Thierry Escande <thierry.escande@collabora.com> - 2016-10-18 18:10 +0200
        Re: [PATCH 2/2] [media] vb2: Add support for use_dma_bidirectional  queue flag Sakari Ailus <sakari.ailus@iki.fi> - 2016-10-19 17:20 +0200

csiph-web