{pCaptureInstPrm = &capturePrm.vipInst[0];pCaptureInstPrm->vipInstId = SYSTEM_CAPTURE_INST_VIP0_PORTA;pCaptureInstPrm->videoDecoderId = SYSTEM_DEVICE_VID_DEC_TVP7002_DRV;pCaptureInstPrm->inDataFormat = SYSTEM_DF_YUV422P;pCaptureInstPrm->standard = SYSTEM_STD_720P_60;pCaptureInstPrm->numOutput = 1;pCaptureOutPrm = &pCaptureInstPrm->outParams[0];pCaptureOutPrm->dataFormat = SYSTEM_DF_YUV422I_YUYV;pCaptureOutPrm->scEnable = FALSE;pCaptureOutPrm->scOutWidth = 0;pCaptureOutPrm->scOutHeight = 0;pCaptureOutPrm->outQueId = 0;}
binbin xu1:
回复 Robin Edson:
谢谢 Robin Edson的回复;
这个断言的位置是:
DVRRDK_03.00.00.00/dvr_rdk/mcfw/src_bios6/links_m3vpss/display/displayLink_drv.c中的Int32 DisplayLink_drvStart(DisplayLink_Obj * pObj)
{
Int32 status = FVID2_SOK;
#ifdef SYSTEM_DEBUG_DISPLAY
Vps_printf(" %d: DISPLAY: Start in progress !!!\n", Utils_getCurTimeInMsec());
#endif
pObj->lastCbTime = Utils_getCurTimeInMsec();
pObj->startTime = Utils_getCurTimeInMsec();
pObj->prevTime = pObj->startTime;
if(pObj->prd.clkStarted)
{
Clock_stop(pObj->prd.clkHandle);
pObj->prd.clkStarted = FALSE;
}
status = FVID2_start(pObj->displayHndl, NULL);
UTILS_assert(status == FVID2_SOK);
pObj->isDisplayRunning = TRUE;
pObj->totalTime = Utils_getCurTimeInMsec();
#ifdef SYSTEM_DEBUG_DISPLAY
Vps_printf(" %d: DISPLAY: Start Done !!!\n", Utils_getCurTimeInMsec());
#endif
return status;
}
把这个FVID2_start跟到hdvpss里面的vps里面是在
DVRRDK_03.00.00.00/ti_tools/hdvpss/hdvpss_01_00_01_37_patched/packages/ti/psp/vps/drivers/display/src/vpsdrv_display.c中的
static Int32 vpsDdrvStartIoctl(VpsDdrv_InstObj *instObj, Ptr cmdArgs) 函数中1452行左右(我添加大部分测试打印)if (FVID2_SOK == retVal)
{
/* Start display */
instObj->state.isStarted = TRUE;
retVal = Dc_startClient(instObj->dcHandle);
if (FVID2_SOK != retVal)
{
GT_0trace(VpsDdrvDispTrace, GT_ERR, "Start client failed\n");
}
}
//Dc_startClient(instObj->dcHandle);的返回值错误
板子在调试Graphics的osd部分可以正常的通过HDMI显示argb的数据,画面正常。
请问display start失败,还有可以是其他问题的原因吗?
binbin xu1:
回复 Robin Edson:
谢谢 Robin Edson;问题已经解决了,底层是没有问题的,还是我上层的配置的问题;在Chains_displayCtrlInit(chainsCfg->displayRes);中的参数没有配置对;不能直接用默认的参数;
xing lixing:
回复 binbin xu1:
我也碰到这个问题,大神能不能请教一下
jensen zhang:
回复 binbin xu1:
你好!我也遇到同样的问题,能具体描述下你是怎样配置的才纠正这个问题的呢? 先谢谢啦!