linux-uconsole/include/media
Pawel Osciak bd60ad374e CHROMIUM: vb2: Add a new "use_dma_bidirectional" queue flag.
When set to 1 for CAPTURE queues by the driver on calling vb2_queue_init(),
forces the buffers on the queue to be allocated/mapped with
DMA_BIDIRECTIONAL DMA direction flag, instead of DMA_FROM_DEVICE. This
allows the device not only to write to the buffers, but also read out from
them. This may be useful e.g. for codec hardware, which may be using
CAPTURE buffers as reference to decode other buffers.

This flag is ignored for OUTPUT queues, as we don't want to allow HW to
be able to write to OUTPUT buffers.

Signed-off-by: Pawel Osciak <posciak@chromium.org>

BUG=chrome-os-partner:45346
TEST=video playback

Reviewed-on: https://chromium-review.googlesource.com/300726
Commit-Ready: Pawel Osciak <posciak@chromium.org>
Tested-by: Pawel Osciak <posciak@chromium.org>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>

Change-Id: Ifba955eef75ac23c9a13edab04bc1fe7f5375c70
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
2016-06-30 19:58:12 +08:00
..
blackfin [media] v4l2: blackfin: select proper pinctrl state in ppi_set_params if CONFIG_PINCTRL is enabled 2014-07-26 17:15:16 -03:00
davinci [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
ad9389b.h
adp1653.h [media] media: i2c/adp1653: Devicetree support for adp1653 2015-04-27 16:19:23 -03:00
adv7183.h
adv7343.h [media] media: i2c: adv7343: make the platform data members as array 2013-07-26 13:20:36 -03:00
adv7393.h
adv7511.h [media] adv7511: log the currently set infoframes 2015-06-09 17:30:39 -03:00
adv7604.h [media] adv7604/adv7842: replace FMT_CHANGED by V4L2_DEVICE_NOTIFY_EVENT 2015-05-20 13:41:30 -03:00
adv7842.h [media] adv7842: replace uintX_t by uX for consistency 2015-06-09 17:29:12 -03:00
ak881x.h
as3645a.h
bt819.h
camsys_head.h camsys_head: v0.0xb.0 2015-03-18 21:22:06 +08:00
cs53l32a.h
cs5345.h
cx2341x.h
cx25840.h
exynos-fimc.h [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
gpio-ir-recv.h
i2c-addr.h
ir-kbd-i2c.h [media] rc-core: improve ir-kbd-i2c get_key functions 2014-07-23 20:05:56 -03:00
ir-rx51.h
lirc.h
lirc_dev.h [media] lirc_dev.h: Make checkpatch happy 2015-10-05 13:50:42 -03:00
lm3560.h [media] media: i2c: add driver for dual LED Flash, lm3560 2013-10-31 06:36:39 -02:00
lm3646.h [media] lm3646: add new dual LED Flash driver 2014-03-11 10:00:26 -03:00
m5mols.h
m52790.h
media-device.h [media] media: Use a better owner for the media device 2014-05-13 13:39:00 -03:00
media-devnode.h [media] Docbook: Fix description of struct media_devnode 2015-08-22 04:45:03 -03:00
media-entity.h [media] media-entity.c: get rid of var length arrays 2015-10-01 18:10:05 -03:00
mmp-camera.h
msp3400.h
mt9m032.h
mt9p031.h [media] v4l: mt9p031: Convert to the gpiod API 2015-04-02 21:29:56 -03:00
mt9t001.h
mt9t112.h
mt9v011.h
mt9v022.h
mt9v032.h [media] mt9v032: Use the common clock framework 2013-08-22 11:37:46 -03:00
noon010pc30.h
omap1_camera.h
omap4iss.h [media] v4l: omap4iss: Add support for OMAP4 camera interface - Core 2013-12-03 17:21:04 -02:00
ov772x.h
ov2659.h [media] media: i2c: add support for omnivision's ov2659 sensor 2015-04-02 22:15:46 -03:00
ov7670.h
ov9650.h
rc-core.h media updates for v4.3-rc1 2015-09-05 18:21:14 -07:00
rc-map.h [media] rc-core: remove the LIRC "protocol" 2015-07-06 08:26:15 -03:00
rj54n1cb0c.h
s3c_camif.h
s5c73m3.h
s5k4ecgx.h
s5k6aa.h
s5p_hdmi.h
saa6588.h [media] saa6588: add support for non-blocking mode 2014-01-07 07:42:19 -02:00
saa7115.h [media] saa7115: make multi-line comments compliant with CodingStyle 2013-08-18 08:39:24 -03:00
saa7127.h
saa7146.h
saa7146_vv.h [media] saa7146: embed video_device 2015-04-02 23:29:01 -03:00
sh_mobile_ceu.h [media] V4L2: soc-camera: fix uninitialised use compiler warning 2013-06-28 14:57:18 -03:00
sh_mobile_csi2.h [media] sh_mobile_ceu_camera: add asynchronous subdevice probing support 2013-06-21 16:35:53 -03:00
sh_vou.h
si476x.h
si4713.h [media] si4713: cleanup platform data 2014-11-14 18:14:33 -02:00
sii9234.h
smiapp.h [media] smiapp: Use types better suitable for DT 2014-12-23 11:29:38 -02:00
soc_camera.h rk: temp revert rk change 2015-11-11 15:54:30 +08:00
soc_camera_platform.h
soc_mediabus.h [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
sr030pc30.h
tc358743.h [media] Driver for Toshiba TC358743 HDMI to CSI-2 bridge 2015-07-17 09:59:28 -03:00
tea575x.h [media] tea575x: split and export functions 2015-01-27 10:13:50 -02:00
ths7303.h [media] media: i2c: ths7303: remove init_enable option from pdata 2013-06-13 11:41:18 -03:00
timb_radio.h
timb_video.h
tuner-types.h [media] DocBook: add documentation for tuner-types.h 2015-10-05 11:37:15 -03:00
tuner.h [media] tuner.h: Make checkpatch.pl happier 2015-10-05 10:00:18 -03:00
tvaudio.h
tveeprom.h [media] DocBook: Document tveeprom.h 2015-10-05 13:49:02 -03:00
tvp514x.h
tvp5150.h
tvp7002.h
tw9910.h
uda1342.h
upd64031a.h
upd64083.h
v4l2-async.h [media] Docbook: Fix comments at v4l2-async.h 2015-08-22 05:17:27 -03:00
v4l2-clk.h [media] V4L: add CCF support to the v4l2_clk API 2015-04-02 18:33:42 -03:00
v4l2-common.h [media] v4l2-common: move v4l2_ctrl_check to cx2341x 2014-11-25 08:25:36 -02:00
v4l2-ctrls.h CHROMIUM: v4l: Add VP8 low-level decoder API controls. 2016-06-30 19:45:29 +08:00
v4l2-dev.h [media] v4l2-core: remove the old .ioctl BKL replacement 2015-03-02 17:06:56 -03:00
v4l2-device.h [media] v4l2-core: remove the old .ioctl BKL replacement 2015-03-02 17:06:56 -03:00
v4l2-dv-timings.h [media] DocBook: Fix documentation for struct v4l2_dv_timings 2015-10-01 09:42:20 -03:00
v4l2-event.h [media] v4l2-event.h: fix comments and add to DocBook 2015-08-22 09:05:52 -03:00
v4l2-fh.h [media] V4L: Add mem2mem ioctl and file operation helpers 2013-12-04 15:34:24 -02:00
v4l2-flash-led-class.h [media] Docbook: fix comments at v4l2-flash-led-class.h 2015-08-22 05:28:44 -03:00
v4l2-image-sizes.h [media] media: v4l2-image-sizes.h: correct the SVGA height definition 2014-12-04 13:56:56 -02:00
v4l2-ioctl.h [media] v4l2: add support for SDR transmitter 2015-10-20 15:40:50 -02:00
v4l2-mediabus.h [media] v4l2-mediabus: Add to DocBook 2015-08-22 09:05:55 -03:00
v4l2-mem2mem.h [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
v4l2-of.h [media] v4l2-of: fix compiler errors if CONFIG_OF is undefined 2015-04-28 08:33:45 -03:00
v4l2-subdev.h [media] v4l2-subdev: add remaining argument descriptions 2015-08-22 07:00:26 -03:00
videobuf-core.h treewide: fix typos in comment blocks 2015-08-07 14:46:24 +02:00
videobuf-dma-contig.h
videobuf-dma-sg.h [media] videobuf: make unused exported functions static 2015-01-27 10:01:33 -02:00
videobuf-dvb.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
videobuf-vmalloc.h
videobuf2-core.h CHROMIUM: vb2: Add a new "use_dma_bidirectional" queue flag. 2016-06-30 19:58:12 +08:00
videobuf2-dma-contig.h CHROMIUM: [media] videobuf2-dc: Let drivers specify DMA attrs 2016-06-30 19:46:20 +08:00
videobuf2-dma-sg.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
videobuf2-dvb.h [media] media: videobuf2: Move v4l2-specific stuff to videobuf2-v4l2 2015-10-20 15:14:28 -02:00
videobuf2-memops.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
videobuf2-v4l2.h CHROMIUM: videodev2.h: rename reserved2 to config_store in v4l2_buffer. 2016-06-30 19:36:55 +08:00
videobuf2-vmalloc.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
wm8775.h