fb with v4l2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

fb with v4l2

728件の閲覧回数
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 返答(返信)

519件の閲覧回数
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 件の賞賛

519件の閲覧回数
q11241113
Contributor III

pastedImage_0.png

0 件の賞賛

519件の閲覧回数
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 件の賞賛