public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Filip Hejsek <filip.hejsek@gmail.com>
To: Linux regressions mailing list <regressions@lists.linux.dev>
Cc: alexander.deucher@amd.com, serg.partizan@gmail.com,
	 amd-gfx@lists.freedesktop.org, mario.limonciello@amd.com,
	hamza.mahfooz@amd.com,
	 ML dri-devel <dri-devel@lists.freedesktop.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [REGRESSION] Brightness at max level after waking up from sleep on AMD Laptop
Date: Sun, 18 Aug 2024 01:46:50 +0200	[thread overview]
Message-ID: <1e962f52a2b1bb243227348dc998273eaf19cdab.camel@gmail.com> (raw)
In-Reply-To: <77KAHS.13UUH2XVHQQF1@gmail.com>

Hello,

On Sat, 2024-07-27 at 19:52 +0300, serg.partizan@gmail.com wrote:
> 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.

This issue is tracked here:
#regzbot link: https://gitlab.freedesktop.org/drm/amd/-/issues/3474


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

This commit does not introduce the bug, it only makes it possible to
set the ABM level without requiring support from the compositor. It's
very likely that the bug has existed for a long time, it just hasn't
surfaced because no compositor enabled the ABM power savings featue.
Now that power-profiles-daemon can enable it through sysfs, the bug has
been exposed.

So I think this actually might not be a regression, just a new feature
that exposed an old bug.

--
Filip

      parent reply	other threads:[~2024-08-17 23:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <77KAHS.13UUH2XVHQQF1@gmail.com>
2024-07-31  6:38 ` [REGRESSION] Brightness at max level after waking up from sleep on AMD Laptop Linux regression tracking (Thorsten Leemhuis)
2024-08-02 15:18   ` Hamza Mahfooz
2024-08-17 23:46 ` Filip Hejsek [this message]

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=1e962f52a2b1bb243227348dc998273eaf19cdab.camel@gmail.com \
    --to=filip.hejsek@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hamza.mahfooz@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=regressions@lists.linux.dev \
    --cc=serg.partizan@gmail.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