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.

Linux/DRA71XEVM: how to config visionSDK display and kernel device tree?

Part Number: DRA71XEVM

Tool/software: Linux

hi all,

i have j6entry EVM board, and display is 1920x720 openLDI Display . we want run visionSDK on this board, 

our purpose is draw background picture to GFX pipeline through DRM (not virtual drm), and draw other up layer picture to VID1 VID2 Pipeline through VisionSDK.

now i want to know how to config visionSDK display parameters and kernel device tree?

the following is visionSDK display config:

else if (pMultiPrm[i].displayType == CHAINS_DISPLAY_TYPE_LDC_1920_720_EVM)
  {
  
pPrm->deviceId = DISPLAYCTRL_LINK_USE_LCD;
   pVInfo->vencId = SYSTEM_DCTRL_DSS_VENC_LCD1;
   pVInfo->outputPort = SYSTEM_DCTRL_DSS_DPI3_OUTPUT;
   pVInfo->vencOutputInfo.vsPolarity    =  SYSTEM_DCTRL_POLARITY_ACT_LOW;
   pVInfo->vencOutputInfo.hsPolarity    =  SYSTEM_DCTRL_POLARITY_ACT_LOW;
   /* Below are of dont care for EVM LCD */
   pVInfo->vencOutputInfo.fidPolarity  =  SYSTEM_DCTRL_POLARITY_ACT_HIGH;
   pVInfo->vencOutputInfo.actVidPolarity  =  SYSTEM_DCTRL_POLARITY_ACT_HIGH;
   pVInfo->mInfo.standard     =  SYSTEM_STD_CUSTOM;
   pVInfo->mInfo.width      =  1920;
   pVInfo->mInfo.height     =  720;
   pVInfo->mInfo.scanFormat    =  SYSTEM_SF_PROGRESSIVE;
   pVInfo->mInfo.pixelClock    =  74250;
   pVInfo->mInfo.fps       =  60U;
   pVInfo->mInfo.hBackPorch    =  42U;
   pVInfo->mInfo.hSyncLen     =  42U;
   pVInfo->mInfo.hFrontPorch     =  42U;
   pVInfo->mInfo.vBackPorch    =  14U;
   pVInfo->mInfo.vSyncLen     =  13U;
   pVInfo->mInfo.vFrontPorch     =  13U;
   pVInfo->vencDivisorInfo.divisorLCD  =  1;
   pVInfo->vencDivisorInfo.divisorPCD  =  1;
   pVInfo->vencOutputInfo.dataFormat   =  SYSTEM_DF_RGB24_888;
   pVInfo->vencOutputInfo.dvoFormat  =
    SYSTEM_DCTRL_DVOFMT_GENERIC_DISCSYNC;
   pVInfo->vencOutputInfo.videoIfWidth  =  SYSTEM_VIFW_24BIT;
   pVInfo->vencOutputInfo.pixelClkPolarity = SYSTEM_DCTRL_POLARITY_ACT_LOW;
   pVInfo->vencOutputInfo.aFmt    =  SYSTEM_DCTRL_A_OUTPUT_MAX;
   /* Configure overlay params */
   /*
    pOvlyPrms = &ovlyPrms[2];
    pOvlyPrms->vencId = pVInfo->vencId;
   */
   ovlyPrms[i].vencId      = pVInfo->vencId;
  }
and delete kernel LCD relate configuration in kernel device tree:
/*
lcd_vout3: display@1 {
  compatible = "auo,g101evn01.0", "panel-dpi";
  label = "lcd_vout3";
  status = "ok";
  panel-timing {
   clock-frequency = <93297600>;
   hactive = <1920>;
   vactive = <720>;
   hfront-porch = <42>;
   hsync-len = <42>;
   hback-porch = <42>;
   vfront-porch = <13>;
   vsync-len = <13>;
   vback-porch = <14>;
   hsync-active = <1>;
   vsync-active = <1>;
   de-active = <1>;
   //pixelclk-active = <1>;
  };
  port@lcd1 {
   lcd_vout3_in: endpoint {
    remote-endpoint = <&dpi_out3>;
   };
  };
 };
*/
an error occured:
[HOST] [IPU2  ]     69.043097 s:  364: Assertion @ Line: 247 in dispcore/src/vpscore_dctrl.c: (DctrlCoreInfo.numPipes < VPSHAL_DSS_DISPC_PIPE_MAX_INST) : failed !!!
could anyone help me figure out the problem?
best regards!