AnsweredAssumed Answered

Two LVDS with overlays on mx6

Question asked by Andrea Picaro on Aug 24, 2015
Latest reply on Aug 30, 2015 by igorpadykov

Hello, on our imx6 quad based board we are tryng to configure two LVDS displays.

I can correctly bring them on through board file configurations:

 

static struct ipuv3_fb_platform_data fb_data[] =

        {

            {

               .disp_dev = "ldb",

               .interface_pix_fmt = IPU_PIX_FMT_RGB666,

               .mode_str = "1024600",

               .default_bpp = 16,

               .int_clk = false,

               .late_init = false,

            },

            {

               .disp_dev = "ldb",

               .interface_pix_fmt = IPU_PIX_FMT_RGB24,

               .mode_str = "800480",

               .default_bpp = 16,

               .int_clk = false,

               .late_init = false,

            },

}

 

and

 

static struct fsl_mxc_ldb_platform_data ldb_data = { .ipu_id = 0, .disp_id = 0,

            .ext_ref = 1, .mode = LDB_SEP1, .sec_ipu_id = 1, .sec_disp_id = 1, };

 

My problem is that displays are always set up as fb0 + fb1 and fb2 but i'd like to have overlay on both channels;

from my understanding of ipu I should configure first display as ipu0 - display0  and second as ipu1 - display0 thus obtaininig

fb0 + fb1 and fb3 + fb4. I tried many solutions but nothing seems to work. I suppose i'm missing something.

Can you give me any hint or point me to some documentation explaining in detail mx6 frame buffers configurations?

 

Thank you!

Outcomes