我的配置:static struct fsl_mxc_hdmi_core_platform_data hdmi_core_data = {
//for 6q,can use .ipu_id=1
//for 6dl,only use .ipu_id=0
.ipu_id = 0,
.disp_id = 1,
};
static struct fsl_mxc_lcd_platform_data lcdif_data = {
//for 6q,can use .ipu_id=1
//for 6dl,only use .ipu_id=0
.ipu_id = 0,
.disp_id = 0,
.default_ifmt = IPU_PIX_FMT_RGB565,
};
static struct fsl_mxc_ldb_platform_data ldb_data = {
//for 6q,can use .ipu_id=1
//for 6dl,only use .ipu_id=0
.ipu_id = 1,
.disp_id = 0,
.ext_ref = 1,
.mode = LDB_SEP1,
//.mode = LDB_SIN0,
//.mode = LDB_DUL_DI1,
.sec_ipu_id = 1,
.sec_disp_id = 1,
};
进入系统后,可以有:
[root@qhh /]#ls /dev/fb
fb0 fb1 fb2 fb3 fb4 fb5
对应关系是:
fb0-lvds1
fb2-lvds0
fb3-hdmi
fb5-lcd
lvds0和1都没有问题,问题是hdmi和lcd不能同时使用,
先打开hdmi,hdmi可以显示,但是打开lcd后,lcd有显示,hdmi就没有显示了
先打开lcd,可以显示,但是打开hdmi后,lcd没有显示,hdmi也没有显示,同时报错:
imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00080000
imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_5 = 0x10000000
imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_5 = 0x00800000
imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00100000
请版主给看看,谢谢!!
|