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

Steve Longerbeam steve_longerbeam at mentor.com
Mon Nov 3 14:41:57 PST 2014


On 11/03/2014 06:13 AM, Fabio Estevam wrote:
> On Mon, Nov 3, 2014 at 11:20 AM, Fabio Estevam <festevam at gmail.com> wrote:
>> On Mon, Nov 3, 2014 at 11:12 AM, Fabio Estevam <festevam at gmail.com> wrote:
>>> Hi Steve,
>>>
>>> On Fri, Oct 31, 2014 at 10:19 PM, Steve Longerbeam
>>> <slongerbeam at gmail.com> wrote:
>>>
>>>> Hi Fabio, Yes I forgot to mention that in the cover letter:
>>>>
>>>> git at github.com:slongerbeam/drm-next.git
>>>>
>>>> Branch is imx-drm-mentor.
>>> Just tried it here. There were some dtb file build issues and I just
>>> removed the dtb's that caused issues from the Makefile.
>>>
>>> Then I ran the kernel and dtb on a imx6q-sabresd, but no HDMI output
>>> could be seen.
>> Sorry, I was using the wrong kernel. HDMI is fine now.
>>
>> Will run some tests now. Thanks
> Some nice improvements that I could notice: now HDMI is detected
> correctly when used together with LVDS.
>
> Also, the LVDS picture does not go away when I remove the HDMI connector.
>
> However, the Linux penguins are appearing with incorrect colours on
> the LVDS panel of my imx6q-sabresd.

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

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.

For reference here are the ldb node settings/timings that work for
the Okaya panel:

&ldb {
        status = "okay";

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

                display-timings {
                        native-mode = <&timing0>;
                        timing0: nit6x_1024x600 {
                                clock-frequency = <51200000>;
                                hactive = <1024>;
                                vactive = <600>;
                                hback-porch = <220>;
                                hfront-porch = <40>;
                                vback-porch = <20>;
                                vfront-porch = <5>;
                                hsync-len = <60>;
                                vsync-len = <10>;
                        };
                };
        };
};

Steve



More information about the dri-devel mailing list