[PATCH 00/72] staging imx-drm new features and fixes

Fabio Estevam festevam at gmail.com
Tue Nov 4 07:15:04 PST 2014


Hi Steve,

On Mon, Nov 3, 2014 at 8:41 PM, Steve Longerbeam
<steve_longerbeam at mentor.com> wrote:

> Hi Fabio, which panel? The Hannstar or the 1024x600 Okaya 7"
> panel?

I am using the Hannstar.

>
> I have noticed wrong colors using the Okaya panel as well, and it
> is fixed by switching to "jeida" 24-bit interface in the DT (along with
> 1024x600 res and slightly different timings).
>
> I didn't change to jeida 24-bit for Hannstar in the DT because I am
> assuming 18-bit and "spwg" ordering is correct for Hannstar, but
> maybe I'm wrong. Try switching to jeida 24-bit to see if the colors
> are fixed. If so maybe we need to switch to jeida 24-bit for Hannstar
> as well.

I followed your suggestion and with the change below the Hannstar
display shows the correct colours:

--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -497,8 +497,8 @@
        status = "okay";

        lvds-channel at 1 {
-               fsl,data-mapping = "spwg";
-               fsl,data-width = <18>;
+               fsl,data-mapping = "jeida";
+               fsl,data-width = <24>;
                status = "okay";

                display-timings {

Thanks


More information about the dri-devel mailing list