From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.167.242.64 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796020788; b=zeaDq+kQZkkPEQaf4EbrjQ3Mcz0UXTXBAqjeJKEgTbmxRPqPUXniOvPoRBjuzYzDs7oz FF9f8HAvJnnGCv2fwfEfOmRnvT0l+zBDgDwnB8o6wnf6LrqMwJYUHVtDczzc3OG3y6Af3 b9LjrQ81lePLHH4HunbNcq91R2YbTJhRbZjPLluDvxKLIw1v8AOVB1WrCSUkg7cNcHOMC aLxmK9Vja1hkgveYS1QkgiM69nGuVHm/SZk33nXWJchrtfIGrhhC2LQBNv7TedaeqK8ja TYikGToHGwUJVFKd6ljgE4e/GgZFBEgUIzeRXFzF+ENxzdL8SK6btbx+4sqUER+WZ8w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796020788; h=DMARC-Filter:Received:DKIM-Signature:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=vM1wTjSZMGkLE+IssdfDk20671X/HlMB13nzXF9dK0Q=; b=JlJsjXgFZKgFQSx2/owqzip+Clog9xgDmsgBt3aDLgjVvGaRh+H2P92c578ZASDnAi+I DSWcNsxo+aBGsgiiAr0VFKaEDLRbjf9x6qVP9R/GEiDwK7bSzN+7oZW6UsR0YctB6E8vm PL7L+gjdXZ/Dua6Xadruy2OErjvMaRiTDW8fQbaxrEKupiqvorTgli3RPGNWfnjQhws8V bxpU83C9sBevMuhlLEr2bef/+vAjWpr1RODHpkEddPgWr84ap0TsR5sVH3q1iJNzo+Zt/ ptQbseLo9aSBUPl84URQvgMp/8SEVtcFtPhAXYqWbtJ4nuGSxU1u8yv5K3eQrO+UtEQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass header.d=ideasonboard.com header.i=@ideasonboard.com header.a=rsa-sha256 header.s=mail header.b=tlUsNheG; arc=none smtp.remote-ip=213.167.242.64 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E96D1606A32D; Mon, 30 Nov 2026 06:39:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E96D1606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.a=rsa-sha256 header.s=mail header.b=tlUsNheG Received: from killaraus.ideasonboard.com (unknown [IPv6:2400:2411:160:2f00:6854:c2c9:122:442c]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 292234DC; Mon, 30 Nov 2026 07:37:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1796020628; bh=I155gyXR1iXamCaFDUPUu6yFBAmsMJ0GAIjl8Vq+58k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tlUsNheG6XL//vNcuh/UNJE7oYVDL8xskuHdqQu64vW0uj5SGM9BpfHgOfeRo7zal 2g8326zi+cmCDwTxN8hXckErF/IMBU7O5ay4Slzoav2K0CbVVrBs5A/4fFXD/88rRd Ji+Yt9JcJZ172govDwf4r/lzrO6xG+F9l4zzZWZE= Date: Mon, 30 Nov 2026 15:39:40 +0900 From: Laurent Pinchart To: Bui Duc Phuc Cc: Wolfram Sang , Geert Uytterhoeven , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Simona Vetter , 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 Message-ID: <20261130063940.GC24781@killaraus.ideasonboard.com> References: <20260707093004.987846-1-phucduc.bui@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 > > > > > > 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 > > > Reviewed-by: Geert Uytterhoeven > > > Signed-off-by: bui duc phuc > > > --- > > > > > > 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