linux/drivers/staging
Chen-Yu Tsai 0887e9e152 media: rkvdec: Support dynamic resolution changes
The mem-to-mem stateless decoder API specifies support for dynamic
resolution changes. In particular, the decoder should accept format
changes on the OUTPUT queue even when buffers have been allocated,
as long as it is not streaming.

Relax restrictions for S_FMT as described in the previous paragraph,
and as long as the codec format remains the same. This aligns it with
the Hantro and Cedrus decoders. This change was mostly based on commit
ae02d49493 ("media: hantro: Fix s_fmt for dynamic resolution changes").

Since rkvdec_s_fmt() is now just a wrapper around the output/capture
variants without any additional shared functionality, drop the wrapper
and call the respective functions directly.

Fixes: cd33c83044 ("media: rkvdec: Add the rkvdec driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-10-19 08:08:39 +01:00
..
android
axis-fifo
board staging: board: Fix uninitialized spinlock when attaching genpd 2021-07-21 11:22:15 +02:00
clocking-wizard clk: staging: correct reference to config IOMEM to config HAS_IOMEM 2021-08-17 20:03:00 +02:00
emxx_udc
fbtft staging/fbtft: Fix braces coding style 2021-08-05 13:05:57 +02:00
fieldbus bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
fwserial tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
gdm724x TTY / Serial patches for 5.15-rc1 2021-09-01 09:51:16 -07:00
greybus staging: greybus: uart: fix tty use after free 2021-09-14 09:18:18 +02:00
gs_fpgaboot
iio
ks7010 staging/ks7010: Remove all strcpy() uses in favor of strscpy() 2021-07-27 15:21:02 +02:00
media media: rkvdec: Support dynamic resolution changes 2021-10-19 08:08:39 +01:00
most staging/most: Remove all strcpy() uses in favor of strscpy() 2021-07-27 15:10:41 +02:00
mt7621-dma
mt7621-dts
mt7621-pci staging: mt7621-pci: fix hang when nothing is connected to pcie ports 2021-08-26 12:06:37 +02:00
netlogic
nvec
octeon dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
octeon-usb
olpc_dcon
pi433
qlge IIO / Staging driver update for 5.15-rc1 2021-09-01 09:45:57 -07:00
r8188eu staging: r8188eu: fix -Wrestrict warnings 2021-09-20 12:33:22 +02:00
ralink-gdma
rtl8192e staging: rtl8192e: rtl_core: Fix possible null-pointer dereference in _rtl92e_pci_disconnect() 2021-08-11 09:43:44 +02:00
rtl8192u staging/rtl8192u: Prefer kcalloc over open coded arithmetic 2021-08-26 12:14:27 +02:00
rtl8712 Merge 5.14-rc5 into staging-next 2021-08-09 08:59:23 +02:00
rtl8723bs staging: rtl8723bs: remove header file ethernet.h 2021-08-26 12:14:57 +02:00
rts5208 staging: rts5208: Fix get_ms_information() heap buffer size 2021-08-18 10:10:49 +02:00
sm750fb staging: sm750fb: Rename vScreen to v_screen in lynxfb_crtc 2021-07-28 20:17:26 +02:00
unisys
vc04_services staging: vchiq: Add details to Kconfig help texts 2021-08-10 12:08:46 +02:00
vme
vt6655 staging: vt6655: Remove filenames in files 2021-08-28 09:45:10 +02:00
vt6656 staging: vt6656: Remove filenames in files 2021-08-28 08:33:33 +02:00
wfx
wlan-ng IIO / Staging driver update for 5.15-rc1 2021-09-01 09:45:57 -07:00
Kconfig staging: rtl8188eu: remove rtl8188eu driver from staging dir 2021-08-01 08:10:42 +02:00
Makefile staging: rtl8188eu: remove rtl8188eu driver from staging dir 2021-08-01 08:10:42 +02:00