linux_dsm_epyc7002/drivers/media
Stanimir Varbanov 85872f861d media: venus: Mark last capture buffer
According to stateful Codec API the decoder will process all
remaining buffers from before the source change event in
dynamic-resolution-change state and mark the last buffer with
V4L2_BUF_FLAG_LAST.

In Venus case the firmware doesn't mark that last buffer and
some mechanism have to be created in v4l decoder driver.
Fortunately the firmware interface (HFI) claims that the
decoder output buffers will be returned to v4l decoder
driver before it send the insufficient event.

In order to do that we save last queued in the driver capture
buffer in the event_notify and issue flush on output firmware
buffers queue. Once the saved buffer is returned (as a result of
flush command) we mark it as LAST. For all that possible we
extend HFI flush command with one more argument and one more
flush_done HFI driver callback.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-05-05 13:07:15 +02:00
..
cec media: cec-gpio: handle gpiod_get_value errors correctly 2020-04-29 12:04:38 +02:00
common media: dvb-usb: auto-select CYPRESS_FIRMWARE 2020-04-14 10:29:04 +02:00
dvb-core media: Kconfig: move DVB-specific options to dvb-core/Kconfig 2020-04-14 10:29:05 +02:00
dvb-frontends media: m88ds3103: error in set_frontend is swallowed and not reported 2020-04-29 11:58:27 +02:00
firewire media: Kconfig: mode firewire comment to firewire/Kconfig 2020-04-14 10:29:04 +02:00
i2c media: cx25840: Register labeling, chip specific correction 2020-04-21 16:51:27 +02:00
mc media: mc/Kconfig: remove staging dependency for request API 2020-04-17 08:57:39 +02:00
mmc media: Kconfig: move comment to siano include 2020-04-14 10:29:04 +02:00
pci media: cx23885: Add i2c device analog tuner support 2020-04-21 16:49:21 +02:00
platform media: venus: Mark last capture buffer 2020-05-05 13:07:15 +02:00
radio media: radio: don't use a menu just for wl128x driver 2020-04-16 10:34:57 +02:00
rc media: rc: no need for decoder state if decoder not enabled 2020-04-29 11:59:20 +02:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vimc: cap: Report a colorspace 2020-04-29 12:02:30 +02:00
tuners media: si2157: ensure wait_status is initialized 2020-04-29 11:59:57 +02:00
usb media: Kconfig: fix some dvb-usb-v2 dependencies 2020-04-23 18:02:18 +02:00
v4l2-core media: v4l2-ctrls: add __v4l2_ctrl_s_ctrl_compound() 2020-04-21 17:01:07 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00