AnsweredAssumed Answered

IMX6 Solo Graphics

Question asked by Daniel Berhe on Mar 4, 2020
Latest reply on Mar 5, 2020 by hiten chauhan

Hi All,

 

I am working on a custom IMX6 Solo board with LCD. I'm seeing banding issue on the screen when displaying gradient images (see attachements). The colour is fine when displaying solid colours but IMG_20200304_103457.jpg should be smooth without any lines. I'm on kernel imx_4.9.88_2.0.0_ga and using a 5 inch (800x480) LCD. Any ideas on how to solve this issue?

 

Relevant sections from the device tree:

 

display0: display@di0 {
   compatible = "fsl,imx-parallel-display";
   interface-pix-fmt = "rgb24";
   pinctrl-names = "default";
   pinctrl-0 = <&pinctrl_lcd>;
   status = "okay";

 

   display-timings {
      native-mode = <&timing0>;
      timing0: timing0 {
         clock-frequency = <30000000>;
         hactive = <800>;
         vactive = <480>;
         hfront-porch = <40>;
         hback-porch = <40>;
         hsync-len = <48>;
         vback-porch = <29>;
         vfront-porch = <13>;
         vsync-len = <3>;
         hsync-active = <1>;
         vsync-active = <1>;
         de-active = <1>;
         pixelclk-active = <1>;
      };
   };

 

   port {
     reg = <0>;
      display0_in: endpoint {
      remote-endpoint = <&ipu1_di0_disp0>;
     };
   };
};

 

&dcic1 {
   dcic_id = <0>;
   dcic_mux = "dcic-lcdif";
   status = "okay";
};

 

&ipu1_di0_disp0 {
   remote-endpoint = <&display0_in>;
};

 

Best wishes,

Daniel

Outcomes