linux_dsm_epyc7002/drivers/media/pci/cobalt
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
..
cobalt-alsa-main.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
cobalt-alsa-pcm.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
cobalt-alsa-pcm.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-alsa.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-cpld.c media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-cpld.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-driver.c media: pci: cobalt: Replace GFP_ATOMIC with GFP_KERNEL in cobalt_probe() 2018-07-27 08:12:15 -04:00
cobalt-driver.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-flash.c media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-flash.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-i2c.c media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-i2c.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-irq.c media: cobalt: replace VB2_BUF_STATE_REQUEUEING by _ERROR 2019-03-19 13:50:38 -04:00
cobalt-irq.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-omnitek.c media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-omnitek.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-v4l2.c media: pci: fix several typos 2019-03-01 09:32:51 -05:00
cobalt-v4l2.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
Kconfig media: cobalt: select CONFIG_SND_PCM 2018-01-23 08:05:01 -05:00
m00233_video_measure_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00235_fdma_packer_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00389_cvi_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00460_evcnt_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00473_freewheel_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00479_clk_loss_detector_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00514_syncgen_flow_evcnt_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
Makefile media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00