fb with v4l2

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

fb with v4l2

1,006 次查看
q11241113
Contributor III

I use is the kernel of linux3.10.53,i have two display device ,mipi disaplay 720*1280 and lcd 800*600,fb0 and video16 are corresponding,fb1 ~ fb3 and video17 ~ video19 not correspond,How to make them one-to-one correspondence?

mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "mipi_dsi";
interface_pix_fmt = "RGB24";
mode_str ="TRULY-WVGA";
default_bpp = <24>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};
mxcfb2: fb@1 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "lcd";
interface_pix_fmt = "RGB24";
mode_str ="800x600M@60";
default_bpp = <24>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};

0 项奖励
回复
3 回复数

797 次查看
joanxie
NXP TechSupport
NXP TechSupport

you should set them in the uboot line, fb0 is relevent to mxcfb0,fb1 is relevent to fb0's overlay fb, fb2 is relevent to mxcfb1.

for more detailed for these, you also can use the command as below:

cat /sys/class/video4linux/video17/name

cat /sys/class/graphsics/fb0/mode

0 项奖励
回复

797 次查看
q11241113
Contributor III

pastedImage_0.png

0 项奖励
回复

797 次查看
joanxie
NXP TechSupport
NXP TechSupport

yes, /dev/fb1 has the same physical buffer as video17, and usual they are used for frontground, and they are relevent to fb0's overlay fb.

0 项奖励
回复