a question about the display of imx6q

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

a question about the display of imx6q

跳至解决方案
1,199 次查看
wangzhigang
Contributor III

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

标签 (2)
0 项奖励
1 解答
674 次查看
qiang_li-mpu_se
NXP Employee
NXP Employee

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,

};

在原帖中查看解决方案

0 项奖励
3 回复数
675 次查看
qiang_li-mpu_se
NXP Employee
NXP Employee

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,

};

0 项奖励
674 次查看
wangzhigang
Contributor III

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?

0 项奖励
674 次查看
wangzhigang
Contributor III

Thanks for your help.

0 项奖励