linux/drivers/staging/media
Michael Tretter 09e6a7d63e media: allegro: pass buffers through firmware
As we know which buffers are processed by the codec from the address in
the ENCODE_FRAME response, we can queue multiple buffers in the firmware
and retrieve the buffer from the response of the firmware. This enables
the firmware to use the internal scheduling the codec and avoids round
trips through the driver when fetching the next frame.

Remove buffers that have been passed to the firmware from the m2m buffer
queue and put them into a shadow queue for tracking the buffer in the
driver. When we receive a ENCODE_FRAME response from the firmware, get
the buffer from the shadow queue and finish the buffer.

Furthermore, it is necessary to finish the job straight after passing
the buffer to the firmware to allow the V4L2 framework to send further
buffers to the driver.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-03-20 09:27:42 +01:00
..
allegro-dvt media: allegro: pass buffers through firmware 2020-03-20 09:27:42 +01:00
hantro media: hantro: Prevent encoders from using post-processing 2020-02-24 17:21:11 +01:00
imx media: imx: imx7-media-csi: Support clamping Y10 and Y12 to Y8 2020-03-12 17:32:20 +01:00
ipu3 media: staging: imgu: make imgu work on low frequency for low input 2020-03-12 17:16:55 +01:00
meson/vdec media: meson: vdec: add VP9 decoder support 2020-03-05 23:05:34 +01:00
omap4iss media: Split v4l2_pipeline_pm_use into v4l2_pipeline_pm_{get, put} 2020-03-02 15:11:40 +01:00
phy-rockchip-dphy-rx0 media: staging: phy-rockchip-dphy-rx0: add Rockchip MIPI Synopsys DPHY RX0 driver 2020-01-09 16:22:54 +01:00
rkisp1 media: staging: rkisp1: capture: remove support to userptr memory 2020-03-02 15:31:51 +01:00
soc_camera media: staging/media: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:52:56 +01:00
sunxi media: staging/media: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:52:56 +01:00
tegra-vde media: staging: tegra-vde: Use devm_platform_ioremap_resource_byname() 2020-03-05 22:48:03 +01:00
usbvision media: staging: media: usbvision: Add missing MEDIA_USB_SUPPORT dependency 2020-03-05 22:48:28 +01:00
Kconfig media: usbvision: deprecate driver 2020-03-02 15:04:54 +01:00
Makefile media: usbvision: deprecate driver 2020-03-02 15:04:54 +01:00