linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: l.stach@pengutronix.de (Lucas Stach)
To: linux-arm-kernel@lists.infradead.org
Subject: Debugging i.MX6QP HDMI Output on Mainline Kernel
Date: Mon, 17 Jul 2017 17:16:33 +0200	[thread overview]
Message-ID: <1500304593.6594.35.camel@pengutronix.de> (raw)
In-Reply-To: <87d18z3yap.fsf@irata-debian.mntnas>

Hi Lukas,



Am Montag, den 17.07.2017, 16:58 +0200 schrieb Lukas F. Hartmann:
> Hello,
> 
> I'm trying, for several days full-time, to get HDMI Output working with
> the mainline kernel (first 4.12, now 4.13-rc1) on a board called TinyRex
> Ultra (incl. development baseboard), which has an i.MX6QP SoC and 4GB
> RAM. The HDMI output works with freescale-linux 4.1 but not with
> mainline. I'm willing to invest significant effort to make this work,
> and I appreciate some direction from experts on the subject.
> 
In general HDMI output on i.MX6QP should work fine with kernel 4.12. I
hope you aren't trying to get this to work with a downstream DT, but
build your DT in the 4.12 source tree...

> I ported the DTS/DTSI files (mostly differing pinctrls) from the
> third-party tinyrexultra DTS/DTSI. I modified the imx6qp-sabresd files
> for this (attached). With this, most features of the board work fine,
> e.g. SATA, USB, ethernet. I boot a debian-unstable userland from it.
> 
One thing I spotted is that you include the imx6q.dtsi, which isn't
needed, as imx6qp.dtsi already includes it.

If you need an example, use the imx6qp-nitrogen6_max.dts. This board is
mainline supported and I personally tested HDMI output to work there.

> When starting a program that uses DRM, e.g. Xorg, the program will pause
> for 10 second intervals and DRM will log:
> 
> [ 127.831760] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:27:crtc-0] flip_done timed out
> [ 138.711740] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:27:crtc-0] flip_done timed out
> [ 148.951738] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> [CRTC:27:crtc-0] flip_done timed out
> 

Please post a full dmesg of a boot-up.

Regards,
Lucas

  reply	other threads:[~2017-07-17 15:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-17 14:58 Debugging i.MX6QP HDMI Output on Mainline Kernel Lukas F. Hartmann
2017-07-17 15:16 ` Lucas Stach [this message]
2017-07-17 15:58   ` Lukas Hartmann
2017-07-20 13:45 ` Fabio Estevam
2017-07-20 13:50   ` Russell King - ARM Linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1500304593.6594.35.camel@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).