AnsweredAssumed Answered

lvds显示颜色异常

Question asked by zhang zeng on Sep 18, 2018
Latest reply on Sep 24, 2018 by zhang zeng

imx6q lvds信号直接接lcd屏,可以显示 但是颜色不对,想请教一下什么原因会导致颜色显示不对?

 

我的dts配置是:

mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "ldb";
interface_pix_fmt = "RGB24";
mode_str ="LDB-XGA";
default_bpp = <8>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};

 

 

&ldb {
status = "okay";
split-mode = <1>;

lvds-channel@0 {
fsl,data-mapping = "jeida";
fsl,data-width = <24>;
status = "okay";

display-timings {
native-mode = <&timing0>;
timing0: hsd100pxn1 {
clock-frequency = <74250000>;
hactive = <1920>;
vactive = <1080>;
hback-porch = <80>;
hfront-porch = <40>;
vback-porch = <20>;
vfront-porch = <15>;
hsync-len = <20>;
vsync-len = <10>;
};
};
};

屏参:

 

 

我是参照网上的公式计算的屏参:

hback-porch + hfront-porch + hsync-len = Horizontal Blank

vback-porch + vfront-porch + vsync-len = Vertical Blank

 

不确定这种方法对不对?

系统:imx6q + linux4.1.15 + qt5.6.2

Outcomes