diff options
author | Stanimir Varbanov <stanimir.varbanov@linaro.org> | 2020-08-05 09:36:06 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-13 09:11:34 +0100 |
commit | aa6033892b1d8ea956ce0358867806e171a620d1 (patch) | |
tree | 6dd53e646f46b1b6b13434a84b4047cd8f0ac280 /drivers/media/platform/qcom/venus/vdec.c | |
parent | c7f50ce507d54ff0518d2f55971a6a8dab6ae8a5 (diff) | |
download | linux-aa6033892b1d8ea956ce0358867806e171a620d1.tar.gz linux-aa6033892b1d8ea956ce0358867806e171a620d1.tar.bz2 linux-aa6033892b1d8ea956ce0358867806e171a620d1.zip |
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/vdec.c')
-rw-r--r-- | drivers/media/platform/qcom/venus/vdec.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/platform/qcom/venus/vdec.c b/drivers/media/platform/qcom/venus/vdec.c index 5fe77a7d8139..fd06416521a0 100644 --- a/drivers/media/platform/qcom/venus/vdec.c +++ b/drivers/media/platform/qcom/venus/vdec.c @@ -760,7 +760,7 @@ static int vdec_session_init(struct venus_inst *inst) { int ret; - ret = hfi_session_init(inst, inst->fmt_out->pixfmt); + ret = venus_helper_session_init(inst); if (ret == -EALREADY) return 0; else if (ret) @@ -771,10 +771,6 @@ static int vdec_session_init(struct venus_inst *inst) if (ret) goto deinit; - ret = venus_helper_init_codec_freq_data(inst); - if (ret) - goto deinit; - return 0; deinit: hfi_session_deinit(inst); |