summaryrefslogtreecommitdiff
path: root/drivers/media/platform/qcom/venus/venc.c
diff options
context:
space:
mode:
authorDikshita Agarwal <dikshita@codeaurora.org>2021-04-02 13:06:47 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-04-06 17:00:54 +0300
commit1ad175952bbcafabd75b399e7fb656ac8ca5d7a5 (patch)
treea12f0d4a85443e4860017ba4aea6f310d272c83f /drivers/media/platform/qcom/venus/venc.c
parentdf67e358447564f204e7966eec35765e0a68d3fa (diff)
downloadlinux-1ad175952bbcafabd75b399e7fb656ac8ca5d7a5.tar.xz
media: venus: helper: Decide work mode
Decide work mode for encoder and decoder based on different use-cases. Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/platform/qcom/venus/venc.c')
-rw-r--r--drivers/media/platform/qcom/venus/venc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/qcom/venus/venc.c b/drivers/media/platform/qcom/venus/venc.c
index 4e7b987588c7..4a7291f934b6 100644
--- a/drivers/media/platform/qcom/venus/venc.c
+++ b/drivers/media/platform/qcom/venus/venc.c
@@ -551,7 +551,7 @@ static int venc_set_properties(struct venus_inst *inst)
u32 profile, level;
int ret;
- ret = venus_helper_set_work_mode(inst, VIDC_WORK_MODE_2);
+ ret = venus_helper_set_work_mode(inst);
if (ret)
return ret;