]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
venus: venc: add handling for VIDIOC_ENCODER_CMD
authorDikshita Agarwal <quic_dikshita@quicinc.com>
Wed, 5 Apr 2023 07:15:23 +0000 (12:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:50:50 +0000 (19:50 +0100)
commit9c704cd7e318147eef59308f087dfd2bd51967ec
tree4aae9b38439e6fe50468d6828d812a80345c6c24
parent06ad3f4b0bed6364bfafebb894e0f4226c773439
venus: venc: add handling for VIDIOC_ENCODER_CMD

[ Upstream commit 7493db46e4c4aa5126dd32f8eae12a4cdcf7a401 ]

Add handling for below commands in encoder:
1. V4L2_ENC_CMD_STOP
2. V4L2_ENC_CMD_START

Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Stable-dep-of: 6c9934c5a00a ("media: venus: fix enc/dec destruction order")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/qcom/venus/core.h
drivers/media/platform/qcom/venus/venc.c