fb with v4l2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fb with v4l2

721 Views
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 Kudos
3 Replies

512 Views
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 Kudos

512 Views
q11241113
Contributor III

pastedImage_0.png

0 Kudos

512 Views
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 Kudos