Hi,
I am now using EVM8168 + Catalog Daughter Card with the DVRRDK4.0 for developing. Aiming on achieving an extremely simple usecase for testing and verifying, I managed to make a chain like this:
1080p60 YUV422 Component ====> Cap ===1080p60 YUV420====> Vdis ====> On-Chip HDMI Display
However, the DisplayLink cannot be successfully created. Once I tried to create the DisplayLink, the program would cast some error logs like this:
......
[m3vpss ] 19175: CAPTURE: Create in progress !!!
[m3vpss ] 19205: CAPTURE: VIP0 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!!
[m3vpss ] UTILS: DMA: Allocated CH (TCC) = 58 (58)
[m3vpss ] UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)
[m3vpss ] UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)
[m3vpss ] UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)
[m3vpss ] UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)
[m3vpss ] CAPTURE::HEAPID:0 USED:328
[m3vpss ] CAPTURE::HEAPID:4 USED:29030400
[m3vpss ] 19321: CAPTURE: Create Done !!!
[m3vpss ] 19322: DISPLAY: Create in progress !!!
[m3vpss ] 19323: Assertion @ Line: 941 in links_m3vpss/display/displayLink_drv.c: status == FVID2_SOK : failed !!!
......
Obviously, the error occurs when I tired to Creat the DisplayLink. And yet I don't know where the wrong is in my displayPrm configuration:
224 DisplayLink_CreateParams_Init(&displayPrm);
225 displayPrm.inQueParams[0].prevLinkId = _captureId;
226 displayPrm.inQueParams[0].prevLinkQueId = 0;
227 displayPrm.displayRes = VSYS_STD_1080P_60;
228 // Naroah 140217
229 displayPrm.displayId = DISPLAY_LINK_DISPLAY_AUTO_SELECT;
230 displayPrm.numInputQueues = 1;
231 displayPrm.activeQueue = 0;
232 displayPrm.forceFieldSeparatedInputMode = FALSE;
233
234 //Chains_displayCtrlInit(chainsCfg->displayRes);
235 VDIS_PARAMS_S prm;
236 Int32 i;
237
238 for (i = 0; i < SYSTEM_DC_MAX_VENC; i++)
239 {
240
241 prm.deviceParams[i].resolution = VSYS_STD_1080P_60;
242 }
243 // Naroah 140217 For
244 prm.tiedDevicesMask = (VDIS_VENC_HDMI | VDIS_VENC_HDCOMP);
245
246 //Setting SD resolution for SD VENC
247 prm.deviceParams[SYSTEM_DC_VENC_SD].resolution = VSYS_STD_NTSC;
248
249
250 printf("Before System_linkControl Disp Devices\n");
251 sleep(1);
252 System_linkControl(
253 SYSTEM_LINK_ID_M3VPSS,
254 SYSTEM_M3VPSS_CMD_GET_DISPLAYCTRL_INIT,
255 &prm,
256 sizeof(prm),
257 TRUE
258 );
259
260 System_linkCreate(_captureId, &capturePrm, sizeof(capturePrm));
261 System_linkCreate(_displayId, &displayPrm, sizeof(displayPrm));
262
Could you help me?
Naroah
Feb/17/2014