android_kernel_samsung_sm8650/drivers/media/platform/amphion
Ming Qian cb8e8950d7 media: amphion: initiate a drain of the capture queue in dynamic resolution change
[ Upstream commit 076b6289b2c12d76fab248659896682830fa7766 ]

The last buffer from before the change must be marked
with the V4L2_BUF_FLAG_LAST flag,
similarly to the Drain sequence above.

initiate a drain of the capture queue in dynamic resolution change

Fixes: 6de8d628df ("media: amphion: add v4l2 m2m vpu decoder stateful driver")
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:21:50 +02:00
..
Kconfig media: platform: amphion: Fix build error without MAILBOX 2022-03-18 06:03:40 +01:00
Makefile
vdec.c media: amphion: initiate a drain of the capture queue in dynamic resolution change 2023-07-19 16:21:50 +02:00
venc.c media: amphion: initiate a drain of the capture queue in dynamic resolution change 2023-07-19 16:21:50 +02:00
vpu_cmds.c media: amphion: try to wakeup vpu core to avoid failure 2022-12-31 13:32:17 +01:00
vpu_cmds.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_codec.h media: amphion: decoder implement display delay enable 2023-05-11 23:03:10 +09:00
vpu_color.c media: amphion: correct the unspecified color space 2023-03-10 09:33:44 +01:00
vpu_core.c media: amphion: fix a bug that vpu core may not resume after suspend 2022-08-30 15:27:51 +02:00
vpu_core.h media: amphion: fix a bug that vpu core may not resume after suspend 2022-08-30 15:27:51 +02:00
vpu_dbg.c media: amphion: fix a bug that vpu core may not resume after suspend 2022-08-30 15:27:51 +02:00
vpu_defs.h media: amphion: handle picture skipped event 2022-05-13 11:02:19 +02:00
vpu_drv.c media: amphion: Fix error handling in vpu_driver_init() 2022-12-31 13:32:13 +01:00
vpu_helpers.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_helpers.h media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_imx8q.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_imx8q.h media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_malone.c media: amphion: drop repeated codec data for vc1g format 2023-07-19 16:21:50 +02:00
vpu_malone.h media: amphion: vdec check format in enum_fmt 2022-06-20 10:30:34 +01:00
vpu_mbox.c media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_mbox.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_msgs.c media: amphion: lock and check m2m_ctx in event handler 2022-12-31 13:32:17 +01:00
vpu_msgs.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_rpc.c media: amphion: vdec check format in enum_fmt 2022-06-20 10:30:34 +01:00
vpu_rpc.h media: amphion: only insert the first sequence startcode for vc1l format 2022-07-08 18:18:49 +01:00
vpu_v4l2.c media: amphion: initiate a drain of the capture queue in dynamic resolution change 2023-07-19 16:21:50 +02:00
vpu_v4l2.h media: amphion: initiate a drain of the capture queue in dynamic resolution change 2023-07-19 16:21:50 +02:00
vpu_windsor.c media: amphion: try to wakeup vpu core to avoid failure 2022-12-31 13:32:17 +01:00
vpu_windsor.h media: amphion: implement windsor encoder rpc interface 2022-03-07 17:13:33 +01:00
vpu.h media: amphion: try to wakeup vpu core to avoid failure 2022-12-31 13:32:17 +01:00