stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: serg.partizan@gmail.com
To: stable@vger.kernel.org
Cc: regressions@lists.linux.dev, mario.limonciello@amd.com,
	hamza.mahfooz@amd.com, alexander.deucher@amd.com
Subject: [REGRESSION] Brightness at max level after waking up from sleep on AMD Laptop
Date: Sat, 27 Jul 2024 19:52:19 +0300	[thread overview]
Message-ID: <77KAHS.13UUH2XVHQQF1@gmail.com> (raw)

Hello,

After updating from 6.8.9 to 6.9.1 I noticed a bug on my HP Envy x360 
with AMD Ryzen 5 4500U.

#regzbot introduced: v6.8.9..v6.9.1

After waking up from sleep brightness is set to max level, ignoring 
previous value.

With the help of Arch Linux team, we was able to track bad commit to 
this: 
https://gitlab.freedesktop.org/agd5f/linux/-/commit/63d0b87213a0ba241b3fcfba3fe7b0aed0cd1cc5

I have tested this on latest mainline kernel:

Results after waking up:

 > cat /sys/class/backlight/amdgpu_bl1/{brightness,actual_brightness}
12
252

Then, on exact this commit (63d0b87213a0ba241b3fcfba3fe7b0aed0cd1cc5), 
result is the same.

Then, on commit just before this one (aeaf3e6cf842):

 > cat /sys/class/backlight/amdgpu_bl1/{brightness,actual_brightness}
12
12

I hope I included all relevant information, more info can be found here:

https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/issues/52



                 reply	other threads:[~2024-07-27 16:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=77KAHS.13UUH2XVHQQF1@gmail.com \
    --to=serg.partizan@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=hamza.mahfooz@amd.com \
    --cc=mario.limonciello@amd.com \
    --cc=regressions@lists.linux.dev \
    --cc=stable@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).