]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: mediatek: vcodec: using each instance lat_buf count replace core ready list
authorYunfei Dong <yunfei.dong@mediatek.com>
Wed, 1 Feb 2023 07:33:11 +0000 (07:33 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 10 Apr 2023 13:10:53 +0000 (14:10 +0100)
commitf7a3780cf96925670736582b9a623a2c9ffb4166
tree8c4864f6593d13daca560217b3be5f4192598280
parent5bbb6e2ca67477ab41163b32e6b3444faea74a5e
media: mediatek: vcodec: using each instance lat_buf count replace core ready list

Core Hardware decoder depends on each instance lat_buf count,
calling queue_work decode again when the lat_buf count of each instance
isn't zero.

Fixes: 365e4ba01df4 ("media: mtk-vcodec: Add work queue for core hardware decode")
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>
drivers/media/platform/mediatek/vcodec/vdec_msg_queue.c