]> git.baikalelectronics.ru Git - kernel.git/commit
media: mediatek: vcodec: get capture queue buffer size from scp
authorYunfei Dong <yunfei.dong@mediatek.com>
Thu, 12 May 2022 02:19:36 +0000 (04:19 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 12:41:44 +0000 (14:41 +0200)
commit24a574cd0efb38b8aee486dc904e3387b9dcaf1a
tree0b19bc9fb1c901d5cca5aa40e4666b1d55e48a57
parente2bd1b36c2f92a54a497025925d0964796abbd6d
media: mediatek: vcodec: get capture queue buffer size from scp

Different capture buffer format has different buffer size, need to get
real buffer size according to buffer type from scp.

Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Tested-by: NĂ­colas F. R. A. Prado <nfraprado@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_ipi_msg.h
drivers/media/platform/mediatek/vcodec/vdec_vpu_if.c
drivers/media/platform/mediatek/vcodec/vdec_vpu_if.h