diff options
author | Yunfei Dong <yunfei.dong@mediatek.com> | 2023-07-29 10:55:08 +0800 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-08-10 07:58:33 +0200 |
commit | 0db2fc4eec23e4c92abee357e98d9f97998098b4 (patch) | |
tree | 9a09f0c483efcd96a4e58bc1db3a48fd597cbe69 /lib/timerqueue.c | |
parent | 17834e0a4db51a01a374f5fad70c8a3d2773644c (diff) | |
download | linux-stable-0db2fc4eec23e4c92abee357e98d9f97998098b4.tar.gz linux-stable-0db2fc4eec23e4c92abee357e98d9f97998098b4.tar.bz2 linux-stable-0db2fc4eec23e4c92abee357e98d9f97998098b4.zip |
media: mediatek: vcodec: remove the dependency of vcodec debug log
'mtk_vcodec_debug' and 'mtk_vcodec_err' depends on 'mtk_vcodec_ctx'
to get the index of each instance. Define two different macro
mtk_vdec_debug and mtk_venc_debug for decoder and encoder, and re-write
macro mtk_vcodec_debug as the common interface which is called
by mtk_vdec_debug and mtk_venc_debug. The vcodec debug log can be
separeated by encoder and decoder.
Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions