This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

add dei link error

hi all ,when i add the dei link ,it has following error:

[m3vpss ] *** [SWMS0] Mosaic Parameters ***
[m3vpss ]
[m3vpss ] Output FPS: 60
[m3vpss ]
[m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | Low Cost | SWMS | Data | Blank |
[m3vpss ] Num | Num | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Start X, Y | Width x Height | Pitch Y / C | Memory Type | ON / OFF | Inst | Format| Frame |
[m3vpss ] ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[m3vpss ] 0 | 0 | 0, 0 | 352 x 288 | 512 / 512 | NON-TILED | 0, 0 | 1920 x 1080 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |
[m3vpss ]
[m3vpss ] SWMS:HEAPID:0 USED:424
[m3vpss ] SWMS:HEAPID:1 USED:64352
[m3vpss ] SWMS:HEAPID:4 USED:20736000
[m3vpss ] 13049: SWMS: Create Done !!!
[m3vpss ] 13050: SWMS: Create in progress !!!
[m3vpss ] UTILS: DMA: Allocated CH (TCC) = 61 (61)
[m3vpss ] UTILS: DMA: 0 of 1: Allocated PaRAM = 61 (0x490047A0)
[m3vpss ] UTILS: DMA: Allocated CH (TCC) = 62 (62)
[m3vpss ] UTILS: DMA: 0 of 4: Allocated PaRAM = 62 (0x490047C0)
[m3vpss ] UTILS: DMA: 1 of 4: Allocated PaRAM = 162 (0x49005440)
[m3vpss ] UTILS: DMA: 2 of 4: Allocated PaRAM = 163 (0x49005460)
[m3vpss ] UTILS: DMA: 3 of 4: Allocated PaRAM = 164 (0x49005480)
[m3vpss ] SWMS: instance 0, sc id 6, start win 0 end win 15
[m3vpss ] SWMS: instance 1, sc id 3, start win 16 end win 33
[m3vpss ] 13154: SWMS : VipScReq is FALSE!!!
[m3vpss ] 13158: Assertion @ Line: 2414 in links_m3vpss/swMs/swMsLink_drv.c: pDrvObj->fvidHandle != NULL : failed !!!

 

that is my swms link parameters

swMsPrm[0].swMsInstId[0] = SYSTEM_SW_MS_SC_INST_DEI_SC_NO_DEI;
swMsPrm[0].swMsInstId[1] = SYSTEM_SW_MS_SC_INST_VIP1_SC;
swMsPrm[1].swMsInstId[0] = SYSTEM_SW_MS_SC_INST_DEIHQ_SC_NO_DEI;
swMsPrm[1].swMsInstId[1] = SYSTEM_SW_MS_SC_INST_VIP0_SC;
swMsPrm[0].numSwMsInst = 2;
swMsPrm[0].swMsInstStartWin[0] = 0;
swMsPrm[0].swMsInstStartWin[1] = 16;
swMsPrm[1].numSwMsInst = swMsPrm[0].numSwMsInst;
swMsPrm[1].swMsInstStartWin[0] = swMsPrm[0].swMsInstStartWin[0];
swMsPrm[1].swMsInstStartWin[1] = swMsPrm[0].swMsInstStartWin[1];

my dei ID is 

 gVcapModuleContext.deiId[0]             = SYSTEM_LINK_ID_DEI_HQ_0;

so how can i fix the error

  • This is scaler resource conflict.

    Refer /hdvpss/docs/ti816x/HDVPSS_SW_Concurrency.xls

     

    It looks like you are opening DEI_HQ with VIP_SC output and also using VIP_SC in scaler path in SWMS and DEI_HQ in DEI_SC output path in SWMS.This wont work.

  • but i do like you said that ,set like following to confirm the scaler resource not conflict.

    swMsPrm[0].swMsInstId[0] = SYSTEM_SW_MS_SC_INST_DEI_SC_NO_DEI;
    swMsPrm[0].swMsInstId[1] = SYSTEM_SW_MS_SC_INST_SC5;
    swMsPrm[1].swMsInstId[0] = SYSTEM_SW_MS_SC_INST_DEI_SC_NO_DEI;
    swMsPrm[1].swMsInstId[1] = SYSTEM_SW_MS_SC_INST_SC5;
    swMsPrm[0].numSwMsInst = 2;

     

    but this is no data to enc and dec,so why?

    and how can i set?