mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Bui Duc Phuc <phucduc.bui@gmail.com>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Simona Vetter <simona@ffwll.ch>,
	dri-devel@lists.freedesktop.org,
	linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4] drm: shmobile: Fix white screen after resume when LCDC is stopped
Date: Mon, 30 Nov 2026 15:39:40 +0900	[thread overview]
Message-ID: <20261130063940.GC24781@killaraus.ideasonboard.com> (raw)
In-Reply-To: <CAABR9nFt8LDyupBiri3PxDTERAQM0qs+cRcM41TRo1gQVAu+fg@mail.gmail.com>

On Sat, Nov 28, 2026 at 10:27:05AM +0700, Bui Duc Phuc wrote:
> On Wed, Nov 11, 2026 at 7:09 PM Wolfram Sang wrote:
> > On Tue, Jul 07, 2026 at 04:30:04PM +0700, phucduc.bui@gmail.com wrote:
> > > From: bui duc phuc <phucduc.bui@gmail.com>
> > >
> > > The LCDC on R8A7740 may show a completely white screen after resuming
> > > from suspend (s2idle or s2ram).
> > >
> > > After resume, both Set A and Set B registers are reset to 0. As the
> > > Frame End interrupt is not generated while the controller is stopped
> > > (DO=0), the hardware register switching mechanism is not triggered.
> > > Consequently, Set A remains at 0x00000000 even though a valid Start
> > > Address is written to Set B, resulting in a white screen.
> > >
> > > This is a timing-dependent race condition. In some configurations,
> > > debug options slow down the resume path enough for a Frame End
> > > interrupt to occur, which can mask the issue.
> > >
> > > Fix this by priming both register sets with the Start Address while the
> > > controller is stopped, ensuring a valid base address is available
> > > immediately after resume.
> > >
> > > Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > > Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
> > > ---
> > >
> > > Note:
> > > It was originally posted in March and has already received both
> > > Reviewed-by and Tested-by tags. I'm resending it to bring it back
> > > to attention in case it was overlooked.
> > >
> > > Changes in v4:
> > >  - No functional changes.
> > >  - Resend.
> >
> > Still not upstream? Who is the person to pick this up? This is a
> > valuable fix we surely want to have.
> 
> This issue had been around for over 10 years, and it took me two
> weeks to track it down and fix it. It's also been about eight months
> since I sent the v1 patch in March.
> Hopefully, the relevant maintainer will consider picking it up.

Geert, I've assumed you would push the patch, was that an incorrect
assumption ?

I've just noticed I'm still listed as maintainer for the shmobile-lcdc
driver. As I haven't worked on it for a long while (and I'm not even
sure if I have functional hardware to test it), I'd like to retire and
leave you as sole maintainer. Would that be OK ?

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2026-11-30  6:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-07  9:30 phucduc.bui
2026-11-11 12:09 ` Wolfram Sang
2026-11-28  3:27   ` Bui Duc Phuc
2026-11-30  6:39     ` Laurent Pinchart [this message]
2026-11-30  8:30       ` Geert Uytterhoeven
2026-11-30  8:37         ` Laurent Pinchart
2026-11-30  9:24           ` Geert Uytterhoeven
2026-11-30 12:34 ` Biju Das

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=20261130063940.GC24781@killaraus.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=geert+renesas@glider.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=phucduc.bui@gmail.com \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    --cc=wsa+renesas@sang-engineering.com \
    /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

all inboxes | Powered by JetHome®