Unable to set MIPI DSI display as a secondary display

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

Unable to set MIPI DSI display as a secondary display

2,051 Views
balasubramaniyam
Contributor II

Hi,

I am using Linux imx-4.1.15-2.0.0_ga release and Yocto Krogoth build.

Now I'm trying to support both HDMI (primary)display and the MIPI DSI (secondary) display for iMX6-Quad.

When I set MIPI DSI as a primary display, I can able to access the HDMI(secondary).

But when I set HDMI as a primary display, MIPI DSI is failed to create the video mode.

Error log:

[ 0.516472] mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed
[ 0.516592] MIPI DSI driver module loaded
[ 0.518934] mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1
[ 0.518965] fbcvt: 1920x1080@60: CVT Name - 2.073M9
[ 0.519112] mxc_sdc_fb fb@0: di_pixfmt:0x33424752, bpp:0x18, di:0, ipu:0
[ 0.519126] mxc_sdc_fb fb@0: registered mxc display driver hdmi
[ 0.573565] imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
[ 0.670591] Console: switching to colour frame buffer device 240x67
[ 0.720000] fbcvt: 1920x1080@60: CVT Name - 2.073M9
[ 0.720039] mxc_mipi_dsi 21e0000.mipi: failed to add videomode.
[ 0.720050] mxc_mipi_dsi 21e0000.mipi: failed to init mipi dsi lcd
[ 0.720063] mxc_sdc_fb fb@1: di_pixfmt:0x33424752, bpp:0x18, di:1, ipu:0
[ 0.720072] mxc_sdc_fb fb@1: registered mxc display driver mipi_dsi

Is it a limitation for MIPI DSI, it can access only in a primary display.

Best regards,
Bala

Labels (4)
Tags (2)
0 Kudos
6 Replies

1,464 Views
balasubramaniyam
Contributor II

Hi Igor,

For MIPI_DSI(Primary) + HDMI(Secondary):

    video=mxcfb0:dev=mipi_dsi,if=RGB24,bpp=24 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=24

For HDMI(Primary) +MIPI_DSI(Secondary):

    video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=24 video=mxcfb1:dev=mipi_dsi,if=RGB24,bpp=24


Best regards,
Bala

0 Kudos

1,464 Views
igorpadykov
NXP Employee
NXP Employee

Hi Bala

 

for MIPI_DSI(Secondary)  one can try : video=mxcfb1:dev=mipi_dsi,TRULYWVGA, if=RGB24

with Demo Images on

i.MX Software|NXP 

 

Best regards
igor

0 Kudos

1,464 Views
balasubramaniyam
Contributor II

Hi Igor,

Is MIPI DSI display is supported to connect as a secondary display?
Or it is a Limitation that we cannot connect MIPI DSI display as a secondary display?


Best regards,
Bala

0 Kudos

1,464 Views
igorpadykov
NXP Employee
NXP Employee

Hi Bala

one can check if correct order of kernel boot parameters are used,

look at examples in attached Release Notes p.19 for "video on 6SABRE-SD" parameter

and primary and secondary lcd parameters. May be recommended to try with NXP Demo images from

i.MX Software|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,464 Views
balasubramaniyam
Contributor II

Dear igor,

By changing the display bootargs from u-boot, we can change the display parameters.

I can archive MIPI_DSI(primary) display + HDMI (secondary)

But we want to set HDMI as a primary display and MIPI_DSI as a secondary display.


Best regards,
Bala

0 Kudos

1,464 Views
igorpadykov
NXP Employee
NXP Employee

Hi Bala

 

what is your bootargs in both cases.

Best regards
igor

0 Kudos