linux/drivers/media/pci
Hans Verkuil 0cd25448a1 media: cobalt: replace VB2_BUF_STATE_REQUEUEING by _ERROR
The cobalt driver is the only driver that uses VB2_BUF_STATE_REQUEUEING.
Replace it by VB2_BUF_STATE_ERROR so we can drop support for the
REQUEUEING state.

The requeueing state was used in the cobalt driver to optimize
buffer handling while waiting for a valid signal: by requeueing
buffers internally there was no need for userspace to handle and
requeue buffers with the ERROR flag set.

However, requeueing also makes the buffer handling unordered, which
is generally a bad idea. Requeueing also does not work with requests
and any future fence support.

Since it is really a minor optimization in the cobalt driver it is
best to just return the buffer in an ERROR state. With this change
support for requeueing can now be removed in vb2.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-03-19 13:50:38 -04:00
..
b2c2 media: drivers: media: pci: b2c2: Fix errors due to unappropriate coding style. 2018-12-05 04:23:19 -05:00
bt8xx media: pci: fix several typos 2019-03-01 09:32:51 -05:00
cobalt media: cobalt: replace VB2_BUF_STATE_REQUEUEING by _ERROR 2019-03-19 13:50:38 -04:00
cx18 media: a few more typos at staging, pci, platform, radio and usb 2019-03-01 10:02:25 -05:00
cx88 media updates for v4.20-rc1 2018-10-31 10:53:29 -07:00
cx23885 media: pci: fix several typos 2019-03-01 09:32:51 -05:00
cx25821 media: pci: fix several typos 2019-03-01 09:32:51 -05:00
ddbridge media: ddbridge: Move asm includes after linux ones 2018-12-20 06:42:14 -05:00
dm1105 media: pci: fix several typos 2019-03-01 09:32:51 -05:00
dt3155 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
intel 5.1 Merge Window Pull Request 2019-03-09 15:53:03 -08:00
ivtv media: pci: fix several typos 2019-03-01 09:32:51 -05:00
mantis media: remove redundant include moduleparam.h 2018-12-05 04:33:45 -05:00
meye media: pci: fix several typos 2019-03-01 09:32:51 -05:00
netup_unidvb media: netup_unidvb: don't check number of messages in the driver 2018-07-27 06:39:57 -04:00
ngene media: pci: fix several typos 2019-03-01 09:32:51 -05:00
pluto2 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
pt1 media: dvb/earth-pt1: fix wrong initialization for demod blocks 2019-03-04 06:17:02 -05:00
pt3 media: pci: fix several typos 2019-03-01 09:32:51 -05:00
saa7134 media: pci: fix several typos 2019-03-01 09:32:51 -05:00
saa7146 media: pci: fix several typos 2019-03-01 09:32:51 -05:00
saa7164 media: a few more typos at staging, pci, platform, radio and usb 2019-03-01 10:02:25 -05:00
smipcie media: smipcie: add universal ir capability 2019-02-18 15:41:14 -05:00
solo6x10 media updates for v5.1-rc1 2019-03-09 14:45:54 -08:00
sta2x11 media: pci: fix several typos 2019-03-01 09:32:51 -05:00
ttpci media: pci: fix several typos 2019-03-01 09:32:51 -05:00
tw68 media: pci: fix several typos 2019-03-01 09:32:51 -05:00
tw686x media: Drop superfluous PCM preallocation error checks 2019-02-06 18:37:29 +01:00
tw5864 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
Kconfig media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00
Makefile media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00