diff options
author | Stanimir Varbanov <stanimir.varbanov@linaro.org> | 2020-08-05 10:36:06 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-13 11:11:34 +0300 |
commit | aa6033892b1d8ea956ce0358867806e171a620d1 (patch) | |
tree | 6dd53e646f46b1b6b13434a84b4047cd8f0ac280 /drivers/media/platform/qcom/venus/venc.c | |
parent | c7f50ce507d54ff0518d2f55971a6a8dab6ae8a5 (diff) | |
download | linux-aa6033892b1d8ea956ce0358867806e171a620d1.tar.xz |
media: venus: Create hfi platform and move vpp/vsp there
Introduce a new hfi platform to cover differences between hfi
versions. As a start move vpp/vsp freq data in that hfi
platform, more platform data will come later.
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.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/platform/qcom/venus/venc.c b/drivers/media/platform/qcom/venus/venc.c index 8cc0695df492..6e830fc83b09 100644 --- a/drivers/media/platform/qcom/venus/venc.c +++ b/drivers/media/platform/qcom/venus/venc.c @@ -724,7 +724,7 @@ static int venc_init_session(struct venus_inst *inst) { int ret; - ret = hfi_session_init(inst, inst->fmt_cap->pixfmt); + ret = venus_helper_session_init(inst); if (ret == -EALREADY) return 0; else if (ret) @@ -745,10 +745,6 @@ static int venc_init_session(struct venus_inst *inst) if (ret) goto deinit; - ret = venus_helper_init_codec_freq_data(inst); - if (ret) - goto deinit; - ret = venc_set_properties(inst); if (ret) goto deinit; |