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!
Hi Andrea
for old kernel there is quite good description on
Linux Software User Manual (i.MX6) - BlueWiki
https://www.kernel.org/doc/Documentation/fb/framebuffer.txt
for last kernel, seems one needs to look at sources (mxc_ipuv3_fb.c),
attached Linux Manual also may be helpful.
Best regards
igor