AnsweredAssumed Answered

hdmi + mipi dsi lcd dual display

Question asked by li yu on Sep 11, 2014
Latest reply on Sep 19, 2014 by li yu

 

Hello everyone, I encountered a trouble!
I want to achieve mipi lcd and hdmi displayed simultaneously, but seeing the results as shown below
20140912_103835.jpg
20140912_103856.jpg

20140912_103906.jpg


Ipu channel my configuration is as follows:

static struct mipi_dsi_platform_data mipi_dsi_pdata = {

    .ipu_id        = 1,

    .disp_id    = 1,

    .lcd_panel    = "TRULY-WVGA",

    .reset        = mx6_reset_mipi_dsi,

    .lcd_power  = mx6_lcd_power_mipi_dsi,

    .backlight_power = mx6_backlight_power_mipi_dsi,

};

 


static struct fsl_mxc_hdmi_platform_data hdmi_data = {

    .init = hdmi_init,

    .enable_pins = hdmi_enable_ddc_pin,

    .disable_pins = hdmi_disable_ddc_pin,

};

 

static struct fsl_mxc_hdmi_core_platform_data hdmi_core_data = {

    .ipu_id = 0,

    .disp_id = 0,

};

 

static struct fsl_mxc_lcd_platform_data lcdif_data = {

    .ipu_id = 0,

    .disp_id = 0,

    .default_ifmt = IPU_PIX_FMT_RGB24,

};

 

static struct fsl_mxc_ldb_platform_data ldb_data = {

    .ipu_id = 0,

    .disp_id = 1,

    .ext_ref = 1,

    .mode = LDB_SPL_DI0,

    .sec_ipu_id = 0,

    .sec_disp_id = 0 ,

};


imx6q_add_mipi_dsi(&mipi_dsi_pdata);

//    imx6q_add_lcdif(&lcdif_data);

    /*lvds display register platfrom data*/

//    imx6q_add_ldb(&ldb_data);

    imx6q_add_v4l2_output(0);


My  kernel cmdline  is as follows:
BOARD_KERNEL_CMDLINE := console=ttymxc0,115200  init=/init video=mxcfb0:dev=mipi_dsi,TRULY-WVGA,if=RGB24,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb2:off vmalloc=450M androidboot.console=ttymxc0 androidboot.hardware=freescale

please tell how to solve !!

Outcomes