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=1796027862; b=uzyomHssz/EXeeaySf2J+6FBCAs7SJ7TMC+viTRlzeA1Rgshhs/TA5QGhOQe7MiY9L/Z s5ItbcINpKpbmQAZxSi0xnvpu+dWiFhZL40g9MwMuqxYn8i+7gabLQ/W8HUJtcG8Ni2yf WA/vB8279/78SoYyQVh9zf1pKrG7SRZgmj6SpXZR6lFM23CJwQEg/zsI5jMHkW7cIwV/y lOP+ow8wLTcXYybBJ7+/CaEWJGK+HflzD9yxYnREZIC5+yLZCo/e61oJRwMH5JmefyIEO CkHaMLhIEnxwTGczJ7MnYWwglmVr2Ujcg3S0qwprK9lAmMdeXUIXd6NWUPm1BLed9uA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796027862; 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=dpkmdNp3w8dsQTtd3NoodacnIYVHGa1hVu50JU/tiVw=; b=kQrmFRwh5pAiZzNnVCCaGtElMkoey+BFoaQCymj4Hzw9+1rKegCYD9/Tm7L9fNpNXmNO RgrMIePqf4j9+pMgyJu0N4HaLem+cz6bRK8OBqpYbZOXYtEQeJ1oxx9bYxd67PCF22EvW zyT3c4d5epmAGfo+e8kOeaC5s/m3OmJi9/J/QfdJQkhzK88CQJjVQ40rhedNbCS+mbKX+ n3+x3VcvcJBcqcARmjB0gFjIRNQ8UJFqt9vZqx0fEIEcZxsCNSeqdE6Y3Yyz+uX79R4dk L57PClQBVFR6dOiqvOP6oVSaFt7RTVWcB9Ixn+1acbPdT3LVPSADLkjcdkdL3X7Npgw== 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=W0iww+jQ; 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)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3E92F606A332; Mon, 30 Nov 2026 08:37:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3E92F606A332 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=W0iww+jQ Received: from killaraus.ideasonboard.com (unknown [IPv6:2400:2411:160:2f00:6854:c2c9:122:442c]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DE47DC31; Mon, 30 Nov 2026 09:35:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1796027702; bh=ZfP+9FBBP2n8yu3euf6cBaBXG1hNaM9+fbNu4t+dVV0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=W0iww+jQae/JhUh4v1Jjaqy7rBmLYKTFaZ9s4KskYug5jwIhpqp+3qq3TKi1RKzkp wXaNXoL74PPZUOlHtsDLNlHxdGVtrvDgrqF0YK8hwwXUcRyn2xaMhAa+6mkJWnFnAd ncF/WABV/qYcF/rBs6IAiEfweYqP6x8L7U/rwFl8= Date: Mon, 30 Nov 2026 17:37:35 +0900 From: Laurent Pinchart To: Geert Uytterhoeven Cc: Bui Duc Phuc , Wolfram Sang , 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: <20261130083735.GA57763@killaraus.ideasonboard.com> References: <20260707093004.987846-1-phucduc.bui@gmail.com> <20261130063940.GC24781@killaraus.ideasonboard.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 Mon, Nov 30, 2026 at 09:30:19AM +0100, Geert Uytterhoeven wrote: > On Mon, Nov 30, 2026, at 07:39, Laurent Pinchart wrote: > > 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 ? > > Yes it was, I don't have DRM git write access (and don't envy that). How do you get your other shmobile-lcdc patches merged in drm ? Through pull requests ? > > 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 ? > > That would be fine for me. Thanks! -- Regards, Laurent Pinchart