From: Hui Zhang Date: Thu, 14 Jan 2021 03:07:56 +0000 (+0800) Subject: vdec: change to support vc1 decoder [1/1] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=77d645adf96369a96e47fe04e0d2f115b6c98e60;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_media.git vdec: change to support vc1 decoder [1/1] PD#SWPL-39316 Problem: vdec driver profile report no_single Solution: remove no_single in profile, becuase single mode can be supportted on SC2 Verify: AH212 Change-Id: Id5bb11a46d5c65e0417c2c25484334fe471346eb Signed-off-by: Hui Zhang --- diff --git a/drivers/frame_provider/decoder/utils/vdec.c b/drivers/frame_provider/decoder/utils/vdec.c index a60494e..e2d44c8 100644 --- a/drivers/frame_provider/decoder/utils/vdec.c +++ b/drivers/frame_provider/decoder/utils/vdec.c @@ -5580,9 +5580,6 @@ int vdec_module_init(void) } INIT_REG_NODE_CONFIGS("media.decoder", &vdec_node, "vdec", vdec_configs, CONFIG_FOR_RW); - if (get_cpu_major_id() >= AM_MESON_CPU_MAJOR_ID_SC2) { - amvdec_common_profile.profile = "vdec, no_single"; - } vcodec_profile_register(&amvdec_common_profile); vcodec_profile_register(&amvdec_input_profile);