hi,everyone.
There is two question about the display of imx6q,my env is as follow:
platform: imx6q
linux : linux3.0.35
1.I want to use ipu1 for lvds in split mode(1080p) and use ipu2's DI0 for HDMI,and use ipu2's DI1 for BT656. Does the imx6q suport it?
2. what's the relation between mxcfb0/maxcfb1/mxcfb2(dev=mxcfb0/mxcfb1/mxcfb2 in bootarg) and ipu1/ipu2?
Best Regards.
wangzg
解決済! 解決策の投稿を見る。
Each IPU can support 3 fb device, 2-layer-fb-bg and 2-layer-fb-fg are for IPU DP DI; 1-layer-fb are for IPU DC DI.
These information can be checked from "cat /sys/class/graphics/fbx/fsl_disp_property"
Each IPU DP DI and IPU DC DI can connect to a real display device, such as LVDS, HDMI, LCD, this information can be checked from "cat /sys/class/graphics/fbx/fsl_disp_dev_property"
In board file, board-mx6q_sabresd.c:
IPU1 DI0 and DI1 for split mode LVDS:
static struct fsl_mxc_ldb_platform_data ldb_data = {
.ipu_id = 0,
.disp_id = 1,
.ext_ref = 1,
.mode = LDB_SPL1,
.sec_ipu_id = 0,
.sec_disp_id = 0,
};
IPU2 DI0 for HDMI:
static struct fsl_mxc_hdmi_core_platform_data hdmi_core_data = {
.ipu_id = 1,
.disp_id = 0,
};
IPU2 DI1 for BT656:
static struct fsl_mxc_lcd_platform_data bt656_data = {
.ipu_id = 1,
.disp_id = 1,
.default_ifmt = IPU_PIX_FMT_BT656,
};
Each IPU can support 3 fb device, 2-layer-fb-bg and 2-layer-fb-fg are for IPU DP DI; 1-layer-fb are for IPU DC DI.
These information can be checked from "cat /sys/class/graphics/fbx/fsl_disp_property"
Each IPU DP DI and IPU DC DI can connect to a real display device, such as LVDS, HDMI, LCD, this information can be checked from "cat /sys/class/graphics/fbx/fsl_disp_dev_property"
In board file, board-mx6q_sabresd.c:
IPU1 DI0 and DI1 for split mode LVDS:
static struct fsl_mxc_ldb_platform_data ldb_data = {
.ipu_id = 0,
.disp_id = 1,
.ext_ref = 1,
.mode = LDB_SPL1,
.sec_ipu_id = 0,
.sec_disp_id = 0,
};
IPU2 DI0 for HDMI:
static struct fsl_mxc_hdmi_core_platform_data hdmi_core_data = {
.ipu_id = 1,
.disp_id = 0,
};
IPU2 DI1 for BT656:
static struct fsl_mxc_lcd_platform_data bt656_data = {
.ipu_id = 1,
.disp_id = 1,
.default_ifmt = IPU_PIX_FMT_BT656,
};
hi,Qiang
Could you tell me how to add the bootargs in uboot when I use LVDS+HDMI+BT.656?
I still don't know what's the mean of the mxcfb0/mxcfb1/mxcfb2.
LVDS---> dev=mxcfb0?
HDMI---> dev=mxcfb1?
Bt.656---> dev=mxcfb2?
Thanks for your help.