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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,132件の閲覧回数
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

 

ラベル(3)
0 件の賞賛
返信
1 解決策
1,080件の閲覧回数
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.

元の投稿で解決策を見る

2 返答(返信)
1,088件の閲覧回数
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 件の賞賛
返信
1,081件の閲覧回数
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.