The MIPI DSI panel is encountering problems while transitioning from BSP 5 to BSP 6 on the Verdin 8M

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The MIPI DSI panel is encountering problems while transitioning from BSP 5 to BSP 6 on the Verdin 8M

Jump to solution
1,114 Views
Rabeb
Contributor II

Hi,

 I am currently involved in the migration process from BSP 5.x to BSP 6.5. I am utilizing the VerdIn8mm on a customized board. However, I am encountering difficulties in loading the display driver with BSP 6, as I am receiving error messages.

Rabeb_0-1718033046698.png

Any ideas on how to fix this problem with BSP6? It was working fine with BSP5. Thank you

 

0 Kudos
Reply
1 Solution
1,062 Views
Rabeb
Contributor II

Hello @AldoG ,thank you for your answer. I fixed the problem by creating a patch for the /gpu/drm/bridge/sec-dsim.c file. Here’s what I did.

I replaced this lines :

 

mvporch |= MVPORCH_SET_MAINVBP(vmode->vback_porch) | MVPORCH_SET_STABLEVFP(vmode->vfront_porch) | MVPORCH_SET_CMDALLOW(0x0);

 

with this lines

 

mvporch |= MVPORCH_SET_MAINVBP(vmode->vback_porch) | MVPORCH_SET_STABLEVFP(vmode->vfront_porch - 15) | MVPORCH_SET_CMDALLOW(0xf);

 

Then i added MIPI_DSI_MODE_VSYNC_FLUSH to dsi->mode_flags when setting mode, typically inside the panel driver.

View solution in original post

2 Replies
1,070 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I believe that you are using Toradex BSP, correct?
If so, I would recommend to also contact their support channel for assitance on this regard.

For the issue on the logs it reports that it failed to attach the bridge, have you compared for any driver changes between version, especifically on the device tree bindings.

Best regards/Saludos,
Aldo.

0 Kudos
Reply
1,063 Views
Rabeb
Contributor II

Hello @AldoG ,thank you for your answer. I fixed the problem by creating a patch for the /gpu/drm/bridge/sec-dsim.c file. Here’s what I did.

I replaced this lines :

 

mvporch |= MVPORCH_SET_MAINVBP(vmode->vback_porch) | MVPORCH_SET_STABLEVFP(vmode->vfront_porch) | MVPORCH_SET_CMDALLOW(0x0);

 

with this lines

 

mvporch |= MVPORCH_SET_MAINVBP(vmode->vback_porch) | MVPORCH_SET_STABLEVFP(vmode->vfront_porch - 15) | MVPORCH_SET_CMDALLOW(0xf);

 

Then i added MIPI_DSI_MODE_VSYNC_FLUSH to dsi->mode_flags when setting mode, typically inside the panel driver.