How to do the dual port lvds display?

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

How to do the dual port lvds display?

5,434 Views
tangyuan
Contributor III

HI:

         I am doing the dual port lvds display!  The lvds0 and lvds1 all connected the one lvds panel.It is also dual channel lvds connection to driver  one panel

         My boot parameter is as follows:console=ttymxc0,115200 video=mxcfb0:dev=ldb,LDB-T13,if=RGB24,bpp=16 ldb=dul0 ip=dhcp root=/dev/mmcblk0p1 rootwait  

         I have tried the ldb=spl0 parameters,But the panel cann't display anything.

         I used the ldb=dul1 parameters and it can display the image.But it can only display a half picture.5.jpg

     The normal picture is as follows:

      3.jpg

     So, i have two problem to ask!

     First ,how to set the boot parameters

     Second ,how to solve the problem about displaying the half image.

0 Kudos
11 Replies

3,838 Views
zky141225
Contributor II

你好,楼主,你的问题解决了吗?我现在也遇到类似的问题,   使用的是HDMI显示接口,图片在显示的时候只将图像的下半部分显示到全部屏幕上,  我用的是imx6q芯片,bsp是L3.0.50   应用程序使用时mxc_vpu_test.out

0 Kudos

3,839 Views
ccitzzp
Contributor I

Hi tang yuan 

         How do you solve your problem? I have the same problem. thank you.

0 Kudos

3,839 Views
tangyuan
Contributor III

hi, 

   zhipeng,

  I just using the ldb=spl0 parameters ,then it is ok

0 Kudos

3,839 Views
mike_susen
NXP Employee
NXP Employee

Hi Tang,

which resolution is your display? Possible modifications of bootargs is change LDB-T13 to LDB-XGA or LDB-1080P60, etc.

Michal

0 Kudos

3,839 Views
tangyuan
Contributor III

HI:

     Michal Susen

     My resolution is 1920*720.

     LDBi-T13 is accroding my definiton in ldb.c: and board-mx6q_sabresd.c

static struct fb_videomode ldb_modedb[] = {

  {

  "LDB-T13",60,960,720,20833,

  16,16,

  8,64,

  8,7,

  0,

  FB_VMODE_NONINTERLACED,

  FB_MODE_IS_DETAILED,},

    }

    

static struct ipuv3_fb_platform_data sabresd_fb_data[] = {

  {

  .disp_dev = "ldb",

  .interface_pix_fmt = IPU_PIX_FMT_RGB24,

  .mode_str = "LDB-T13",

  .default_bpp = 16,

  .int_clk = false,

  .late_init = false,

  },

    So,i think LDB-T13 it cann't change

0 Kudos

3,839 Views
mike_susen
NXP Employee
NXP Employee

Hi Tang,

so change resolution according to your lcd.

static struct fb_videomode ldb_modedb[] = {

  {

  "LDB-T13",60,1920,720,20833,

  16,16,

  8,64,

  8,7,

  0,

  FB_VMODE_NONINTERLACED,

  FB_MODE_IS_DETAILED,},

    }

Useful link iMX6QD How to add 24bit LVDS support in Android

Michal

3,839 Views
tangyuan
Contributor III

HI:

     Michal,I have ever tried the 1920*720,and the result cann't still display  normally

     Because my lvds is dual port lvds,so i should write 960 not 1920.

     Below is my specification:

     11.PNG

          So ,i should write 960 not 1920

         Thanks

0 Kudos

3,839 Views
aravinthkumarja
Senior Contributor II

Hi tangyuan​,

What BSP you are using??

Which kernel version your using??

Regards,

Aravinth

0 Kudos

3,839 Views
tangyuan
Contributor III

HI:

     Aravinth,

     My BSP is  L3.0.35_4.0.0_130424_source.

     My kernel version is 3.0.35

0 Kudos

3,839 Views
aravinthkumarja
Senior Contributor II

Hi tang,

In this "L3.0.35_4.0.0_130424_source" i checked "LDB-T13" this video mode is not there.

And also in your specification resolution they mentioned as 1920x720. So in your bootargs you try to use 720p configuration, it may work.

Regards,

Aravinth

0 Kudos

3,839 Views
tangyuan
Contributor III

HI

     Aravinth,

     OK,i try it

0 Kudos