All of lore.kernel.org
 help / color / mirror / Atom feed
From: marex@denx.de (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] ARM: dts: imx7-colibri: use OF graph to describe the display
Date: Sat, 6 May 2017 02:15:29 +0200	[thread overview]
Message-ID: <86b6c888-a17b-e19c-8263-ce2b9dd71dea@denx.de> (raw)
In-Reply-To: <144548a963c8393049f90afd683b331b@agner.ch>

On 05/06/2017 01:52 AM, Stefan Agner wrote:
> On 2017-05-05 06:18, Fabio Estevam wrote:
>> On Fri, May 5, 2017 at 8:48 AM, Fabio Estevam <festevam@gmail.com> wrote:
>>
>>> Could you please confirm that drm/mxsfb is working fine on 4.11 on your board?
>>>
>>> I am converting mx6sx sdb to use drm/mxsfb and I noticed that when
>>> board boots I get garbage on the display.
>>>
>>> If I do a blank/unblank then things are displayed correctly.
>>
>> Ok, I managed to fix the drm/mxsfb driver.
>>
>> Will submit a patch shortly.
> 
> FWIW, it works, on i.MX 7 here, but I also have a U-Boot which
> initialized eLCDIF first.
> 
> Will check your patch and without U-Boot eLCDIF support.

Same thing here, I had U-Boot which inited the eLCDIF too and disabling
that triggered this issue on MX6SX as well. Then again, the original
patch I sent Fabio fixed it for me too:

diff --git a/drivers/gpu/drm/mxsfb/mxsfb_crtc.c
b/drivers/gpu/drm/mxsfb/mxsfb_crtc.c
index 6d701d2c362d..f02d23d55995 100644
--- a/drivers/gpu/drm/mxsfb/mxsfb_crtc.c
+++ b/drivers/gpu/drm/mxsfb/mxsfb_crtc.c
@@ -84,6 +84,8 @@ static int mxsfb_set_pixel_fmt(struct
mxsfb_drm_private *mxsfb)

        writel(ctrl1, mxsfb->base + LCDC_CTRL1);
        writel(ctrl, mxsfb->base + LCDC_CTRL);
+       writel(ctrl1, mxsfb->base + LCDC_CTRL1);
+       writel(ctrl, mxsfb->base + LCDC_CTRL);

        return 0;
 }

-- 
Best regards,
Marek Vasut

      reply	other threads:[~2017-05-06  0:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-29 23:21 [PATCH 1/5] ARM: dts: imx7-colibri: use OF graph to describe the display Stefan Agner
2017-03-29 23:21 ` Stefan Agner
2017-03-29 23:21 ` [PATCH 2/5] ARM: dts: imx7-colibri: fix PMIC voltages Stefan Agner
2017-03-29 23:21   ` Stefan Agner
2017-03-29 23:21 ` [PATCH 3/5] ARM: dts: imx7-colibri: allow to disable Ethernet rail Stefan Agner
2017-03-29 23:21   ` Stefan Agner
2017-03-29 23:21 ` [PATCH 4/5] ARM: dts: imx7-colibri: remove 1.8V fixed regulator Stefan Agner
2017-03-29 23:21   ` Stefan Agner
2017-03-29 23:21 ` [PATCH 5/5] ARM: dts: imx7-colibri: add Carrier Board 3.3V/5V regulators Stefan Agner
2017-03-29 23:21   ` Stefan Agner
2017-03-30 13:16 ` [PATCH 1/5] ARM: dts: imx7-colibri: use OF graph to describe the display Shawn Guo
2017-03-30 13:16   ` Shawn Guo
2017-05-05 11:48 ` Fabio Estevam
2017-05-05 13:18   ` Fabio Estevam
2017-05-05 23:52     ` Stefan Agner
2017-05-06  0:15       ` Marek Vasut [this message]

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=86b6c888-a17b-e19c-8263-ce2b9dd71dea@denx.de \
    --to=marex@denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.