avs: multi-instance add profile [1/1]
authorPeng Yixin <yixin.peng@amlogic.com>
Thu, 15 Oct 2020 07:45:04 +0000 (15:45 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Wed, 21 Oct 2020 05:19:50 +0000 (22:19 -0700)
PD#SWPL-25623

Problem:
avs multi-instance no register profile.

Solution:
avs multi-instance add register profile function.

Verify:
U215

Change-Id: I31dcb441cb9832fbf5680f36104f69404afbb823
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
drivers/frame_provider/decoder/avs_multi/avs_multi.c

index e0856f9cd3a756becc149ac347e8668dc5a823a8..778f76457c3672fbae34c7133c73d5cb4fca48f0 100644 (file)
@@ -4780,9 +4780,9 @@ static int __init ammvdec_avs_driver_init_module(void)
        amvdec_avs_driver = amvdec_avs_driver;
 #endif
        if (get_cpu_major_id() >= AM_MESON_CPU_MAJOR_ID_GXBB)
-               ammvdec_avs_profile.profile = "avs+";
+               ammvdec_avs_profile.profile = "mavs+";
 
-       //vcodec_profile_register(&ammvdec_avs_profile);
+       vcodec_profile_register(&ammvdec_avs_profile);
        INIT_REG_NODE_CONFIGS("media.decoder", &mavs_node,
                "mavs", mavs_configs, CONFIG_FOR_RW);
        return 0;