TDA4VM: TDA4VM Rtos 0806: Does C6x_1/2 affect the video channel?

Part Number: TDA4VM

Tool/software:

Hi,

        After adding some small algorithms to DSP (C6x_1 cpu: 20%),
image flickering occurs in CAMERA->VIDEO->DSS.

1. Is this possible?
2. Or  can disable the TIOVX function of C6x_1/2 ?
thanks

Dongzhang

  • Hi,

    CAMERA->VIDEO->DSS

    May I know where is C66 in this?

    Or  can disable the TIOVX function of C6x_1/2 ?

    DO you mean you do not want to run vision_apps firmware on these cores?

    Regards,

    nikhil

  • HI,

    Use 1 C66 for audio,and  used IPC.
    C66_1 and C66_2 all have the func,

    #if defined(x86_64) || defined(C66)
    void tivxRemoveTargetKernelDLColorConvert(void);
    #endif
    
    static Tivx_Target_Kernel_List  gTivx_target_kernel_list[] = {
        {&tivxAddTargetKernelOCPreProc, &tivxRemoveTargetKernelOCPreProc},
        {&tivxAddTargetKernelOCPostProc, &tivxRemoveTargetKernelOCPostProc},
        {&tivxAddTargetKernelPoseViz, &tivxRemoveTargetKernelPoseViz},
        {&tivxAddTargetKernelDrawKeypointDetections, &tivxRemoveTargetKernelDrawKeypointDetections},
        {&tivxAddTargetKernelDrawBoxDetections, &tivxRemoveTargetKernelDrawBoxDetections},
        {&tivxAddTargetKernelDLPreProc, &tivxRemoveTargetKernelDLPreProc},
        {&tivxAddTargetKernelDLColorBlend, &tivxRemoveTargetKernelDLColorBlend},
        {&tivxAddTargetKernelDLDrawBox, &tivxRemoveTargetKernelDLDrawBox},
        {&tivxAddTargetKernelImgPreProc, &tivxRemoveTargetKernelImgPreProc},
        {&tivxAddTargetKernelPixelViz, &tivxRemoveTargetKernelPixelViz},
        {&tivxAddTargetKernelODPostProc, &tivxRemoveTargetKernelODPostProc},
        {&tivxAddTargetKernelDofPlaneSep, &tivxRemoveTargetKernelDofPlaneSep},
        {&tivxAddTargetKernelVisualLocalization, &tivxRemoveTargetKernelVisualLocalization},
    #if defined(x86_64) || defined(C66)
        {&tivxAddTargetKernelDLColorConvert, &tivxRemoveTargetKernelDLColorConvert},
    #endif
    };

    Can I delete these functions in C66_2 without affecting the vision apps?

    thanks

    Dongzhang

  • Hi,

    yes, if you are not using this, then you are remove the same.

    Additionally, if you are not using C66x cores for vision_apps, you can remove the whole this for the same by below 2 steps.

    Step 1: in vision_apps/platform/j721e/rtos/common/app_cfg.h, you can comment out ENABLE_IPC_C66x_1 and 2

    Step 2: in sdk_builder/vision_apps_build_flags.mak you can change BUILD_CPU_C6x_1 and 2 to "no"

    With this, vision_apps binaries are not connected to C66x core

    Regards,

    Nikhil

  • hi, 
    I don't want to delete the core c66x_1 and 2,

    like above, 
    when enable audio alg, will make display flicker, 
    so delete the c66x_2 some or all tiovx func, It's possible?

    thanks 

    dong zhang

  • Hi,

    Yes, it is possible, You can remove the unused parts of C66x.

    Regards,

    Nikhil