Re: [PATCH] platform/loongarch: laptop: explicitly reset the bl_powered state when resuming
Yao Zi <[email protected]> Wed, 22 Jul 2026 16:39:59 +0000
| Newsgroups | dev.linux.lists.loongarch,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <amDyX9gPxjT4Pd1d@pie> |
On Wed, Jul 22, 2026 at 12:44:50PM +0800, [email protected] wrote: > From: Zixing Liu <[email protected]> > > On EAECIS NL60R with EC firmware version 1.11, resuming from S3 has a very > high chance (>= 90%) of causing the EC to lose the previous backlight > power state. When this happens, the laptop resumes normally from S3, but > the backlight remains off (when shining on the screen with a flash light, > we can see the screen contents are updating normally). > > Since there is no generic way to query the EC's backlight state on > Loongson laptop platforms, assume the worst-case scenario and restart the > backlight power inside the kernel each time the system resumes. > > Cc: [email protected] > Fixes: 53c762b47f72 ("platform/loongarch: laptop: Add backlight power control support") > Signed-off-by: Zixing Liu <[email protected]> Tested on my TongFang L860-T2 3A5000 laptop, which isn't affected by the EC issue, after resuming from S3 the brightness kept unchanged, no regression is observed. Tested-by: Yao Zi <[email protected]> Regards, Yao Zi