[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)

ソリューションへジャンプ
1,925件の閲覧回数
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 解決策
1,888件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
11 返答(返信)
1,571件の閲覧回数
KyleChang
Contributor I

We bring-up i.MX8MQ+LT8911EXB.

Thank you for your help, please close the ticket.

0 件の賞賛
返信
1,889件の閲覧回数
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 件の賞賛
返信
1,858件の閲覧回数
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 件の賞賛
返信
1,844件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
1,823件の閲覧回数
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 件の賞賛
返信
1,798件の閲覧回数
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 件の賞賛
返信
1,738件の閲覧回数
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 件の賞賛
返信
1,625件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I mailed to you, pls check it

0 件の賞賛
返信
836件の閲覧回数
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 件の賞賛
返信
804件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

mailed to you, pls check it

0 件の賞賛
返信
1,673件の閲覧回数
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 件の賞賛
返信