]> git.baikalelectronics.ru Git - kernel.git/commit
media: mediatek: vcodec: Fix v4l2 compliance decoder cmd test fail
authorYunfei Dong <yunfei.dong@mediatek.com>
Sat, 23 Apr 2022 07:35:31 +0000 (09:35 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 12:39:18 +0000 (14:39 +0200)
commita6daf468094325286f52de3b3b505f5809cc0651
tree278262c6293424067e8986654c1d474071c73925
parentb17a78dba7a37c2211eaae99b886eb421fa67441
media: mediatek: vcodec: Fix v4l2 compliance decoder cmd test fail

Will return -EINVAL using standard framework api when test stateless
decoder with cmd VIDIOC_(TRY)DECODER_CMD. Disable them to adjust v4l2
compliance test for user driver(GStreamer/Chrome) won't use decoder cmd.

Fixes: 30a1c0ef0478 ("media: mtk-vcodec: vdec: support stateless API")
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_dec.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_drv.c