linux/drivers/media/platform/mediatek
Yunfei Dong 0e481ef854 media: mediatek: vcodec: using decoder status instead of core work count
[ Upstream commit 2864e304fa ]

Adding the definition of decoder status to separate different decoder
period for core hardware.

core_work_cnt is the number of core work queued to work queue, the control
is very complex, leading to some unreasonable test result.

Using parameter status to indicate whether queue core work to work queue.

Fixes: 2e0ef56d81 ("media: mediatek: vcodec: making sure queue_work successfully")
Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:21:51 +02:00
..
jpeg
mdp
mdp3 media: platform: mtk-mdp3: fix potential frame size overflow in mdp_try_fmt_mplane() 2023-05-11 23:03:15 +09:00
vcodec media: mediatek: vcodec: using decoder status instead of core work count 2023-07-19 16:21:51 +02:00
vpu
Kconfig
Makefile