[DRM] Failed to implement "DSI to eDP bridge driver"(kernel_imx/drivers/gpu/drm/bridge)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

[DRM] Failed to implement "DSI to eDP bridge driver"(kernel_imx/drivers/gpu/drm/bridge)

跳至解决方案
2,579 次查看
KyleChang
Contributor I

We implement "DSI to eDP bridge driver" on i.MX8MQ platform and encounter the following error log:

[drm:nwl_dsi_probe] Using DCSS as input source
[drm] Initialized imx-dcss 1.0.0 20190917 for 32e00000.display-controller on minor 0
[drm] kms: can't enable cloning when we probably wanted to.

 

We already make sure that test pattern can work as the figure below.

test_pattern.jpg

But we don't know how to configure DRM & KMS on i.MX8MQ platform correctly.

Do you have any suggestions to fix the error message below?
[drm] kms: can't enable cloning when we probably wanted to.

or could you please give me documents about DRM porting guide for i.MX8MQ?

BTW, could you please take a look the figure below, we thought there are no problems with MIPI-DSI signal and link training.

MIPI_DSI_LinkTraining.jpg

 

0 项奖励
回复
1 解答
2,542 次查看
joanxie
NXP TechSupport
NXP TechSupport
0 项奖励
回复
11 回复数
2,225 次查看
KyleChang
Contributor I

We bring-up i.MX8MQ+LT8911EXB.

Thank you for your help, please close the ticket.

0 项奖励
回复
2,543 次查看
joanxie
NXP TechSupport
NXP TechSupport

what converter do you use, maybe you can refer to the link as below:

"https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/IMX8MP-MIPI-DSI-to-eDP-bridge-board-supp..."

0 项奖励
回复
2,512 次查看
KyleChang
Contributor I

We use LT8911EXB MIPI DSI to eDP bridge.

The patch does not configure &dcss of device tree on i.MX8MP platform,
but i.MX8MQ must configure &dcss as the figure below.
So I don't know how to configure &dcss correctly, Do you have any suggestions?

DT_dcss.png

0 项奖励
回复
2,498 次查看
joanxie
NXP TechSupport
NXP TechSupport

in fact imx8mq can support DP, why do you need use DSI to DP bridge?

0 项奖励
回复
2,477 次查看
KyleChang
Contributor I

why do you need use DSI to DP bridge?
=>Please see the following figure.

We refer to imx8mp_ite6151.patch to porting LT8911EXB driver on i.MX8MQ platform,
but Android 11 codebase will compile Error when add
#include <drm/drmP.h> // fatal error: 'drm/drmP.h' file not found
drm_panel_get_modes(); // error: too few arguments to function call, expected 2, have 1
drm_panel_attach(); // error: implicit declaration of function 'drm_panel_attach'
drm_panel_detach();

eDP_LVDS.jpg

0 项奖励
回复
2,452 次查看
joanxie
NXP TechSupport
NXP TechSupport

I don't have dcss for dsi to eDP bridge, imx8mp doesn't have dcss, only lcdif, in fact, imx8mq has lcdif too, maybe you can use lcdif to replace dcss, another option is that you can use one eDP display on imx8mq eDP port directly, another lvds to mipi dsi port

0 项奖励
回复
2,392 次查看
KyleChang
Contributor I

we can bring up LVDS panel(DSI to eDP bridge, GM8775C) using LCDIF as input source successfully.
imx8mp_ite6151.patch can't find how to configure &lcdif for eDP(1920*1080@60).

Could you please give me the device tree of &lcdif for eDP interface, thanks.

0 项奖励
回复
2,279 次查看
joanxie
NXP TechSupport
NXP TechSupport

I mailed to you, pls check it

0 项奖励
回复
1,490 次查看
MJD
Contributor II

HI @joanxie 
We are using same DSI to eDp Bridge driver with IMX8MP, Yocto Kernel version 6.1.55.
Can you please share the DTs Configuration. 

0 项奖励
回复
1,458 次查看
joanxie
NXP TechSupport
NXP TechSupport

mailed to you, pls check it

0 项奖励
回复
2,327 次查看
joanxie
NXP TechSupport
NXP TechSupport

this patch is for imx8mp, imx8mq has different IP, let me confirm from LTE if they have verified this on imx8mq processor

0 项奖励
回复