SUPERH platform development
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH v2] ARM: shmobile: dts: Add common file for AA121TD01 panel
Date: Fri, 14 Aug 2015 20:44:47 +0000	[thread overview]
Message-ID: <8651511.IKVhtFr2ll@avalon> (raw)
In-Reply-To: <87vbd4227u.wl%kuninori.morimoto.gx@renesas.com>

Hi Magnus,

On Wednesday 29 July 2015 16:32:43 Magnus Damm wrote:
> Hi Laurent, Morimoto-san, everyone,
> 
> I have now together with Morimoto-san tried to get a bit closer to
> tracking down what the issue is for LVDS on Lager. This is what we
> have observed so far:
> 
> - On Koelsch both LVDS panels work fine (aa104xd12 and aa121td01).
> - On Koelsch HDMI works well too.

Good news so far :-)

> - On Lager the VGA output seems to work.
> - On Lager the LVDS panel output does not work.
> - On Lager the HDMI does not work.

How do they "not work" ?

I've tested both here using modetest without any issue, neither with renesas-
devel-20150729-v4.2-rc4 nor with renesas-drivers-2015-07-14-v4.2-rc2. To test 
HDMI, I ran (your connector numbers may vary)

modetest -M rcar-du -s 44:1280x800@AR24

and to test LVDS

modetest -M rcar-du -s 46:1280x800@AR24

after applying Morimoto-san's AA121TD01 panel patch.

The HDMI tests were performed twice, once with the display connected at boot 
and once after connecting the display at runtime. Both worked fine, the screen 
showed the fbdev console and the test pattern when running modetest.

As my LVDS panel is an AA104XD12 the image showed some artifacts when fed with 
1280x800 (most notably cropping and a bit of flickering), but it worked 
nonetheless.

> - On Lager we get the crash described by Morimoto-san using the 1280x800
> panel.

I couldn't reproduce that crash either.

> - On Lager we get no crash if we use the 1024x768 panel.
> 
> We seem to have some issues with Lager. =)
> 
> The Lager crash disappears if we force use of DU2 on LVDS1:
> 
> --- 0001/drivers/gpu/drm/rcar-du/rcar_du_drv.c
> +++ work/drivers/gpu/drm/rcar-du/rcar_du_drv.c    2015-07-29
> 16:24:21.212366518 +0900
> @@ -66,7 +66,7 @@ static const struct rcar_du_device_info
>           * (currently unsupported) TCON output.
>           */
>          [RCAR_DU_OUTPUT_DPAD0] = {
> -            .possible_crtcs = BIT(2) | BIT(1) | BIT(0),
> +            .possible_crtcs = BIT(1) | BIT(0),
>              .encoder_type = DRM_MODE_ENCODER_NONE,
>              .port = 0,
>          },
> @@ -76,7 +76,7 @@ static const struct rcar_du_device_info
>              .port = 1,
>          },
>          [RCAR_DU_OUTPUT_LVDS1] = {
> -            .possible_crtcs = BIT(2) | BIT(1),
> +            .possible_crtcs = BIT(2),
>              .encoder_type = DRM_MODE_ENCODER_LVDS,
>              .port = 2,
>          },
> 
> Regardless of if the crash disappears or not we still get no output on
> the LVDS panel on Lager.
>
> As for kernel, Morimoto-san used renesas-drivers-2015-07-14-v4.2-rc2
> with a real LVDS panel and I used renesas-devel-20150729-v4.2-rc4
> without panel connected (but added 1024x768 panel in DTS).
> 
> Any ideas?

That might be a bit of a stupid question, but have you verified that the 
connectors pinout (both data and backlight) is compatible ?

-- 
Regards,

Laurent Pinchart


  parent reply	other threads:[~2015-08-14 20:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28  7:06 [PATCH v2] ARM: shmobile: dts: Add common file for AA121TD01 panel Kuninori Morimoto
2015-07-28  7:21 ` Kuninori Morimoto
2015-07-29  7:32 ` Magnus Damm
2015-08-03  7:38 ` Wolfram Sang
2015-08-03  8:34 ` Kuninori Morimoto
2015-08-03  8:38 ` Magnus Damm
2015-08-04 22:47 ` Laurent Pinchart
2015-08-04 22:48 ` Laurent Pinchart
2015-08-05  0:52 ` Magnus Damm
2015-08-13  0:02 ` Simon Horman
2015-08-14 20:44 ` Laurent Pinchart [this message]
2015-10-02  5:05 ` Magnus Damm
2015-10-02  6:12 ` Simon Horman

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=8651511.IKVhtFr2ll@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-sh@vger.kernel.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