media: mediatek: vcodec: Get each context resolution information
authorYunfei Dong <yunfei.dong@mediatek.com>
Tue, 30 May 2023 12:29:04 +0000 (20:29 +0800)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 9 Jun 2023 15:38:45 +0000 (16:38 +0100)
commit07b7e505ff13f6c8493291bc0b24c6303a6b224f
tree86830f245589d48bfb8b48e64b161de1e4014756
parent5e488a4fd8595817e74b255d33868e03f57ad16f
media: mediatek: vcodec: Get each context resolution information

Will store the string to temp buffer like "echo -picinfo > vdec" when
user want to get needed information.

Then getting debug information using command 'cat vdec' calling
mtk_vdec_dbgfs_read to analysis the temp buffer.

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/mtk_vcodec_dbgfs.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dbgfs.h