From: Hamza Mahfooz <hamza.mahfooz@amd.com>
To: Linux regressions mailing list <regressions@lists.linux.dev>
Cc: alexander.deucher@amd.com, serg.partizan@gmail.com,
"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>,
mario.limonciello@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: Fri, 2 Aug 2024 11:18:48 -0400 [thread overview]
Message-ID: <7699dc60-89b7-4387-84e9-50974c345c9e@amd.com> (raw)
In-Reply-To: <245f2c54-6d06-4b71-a9f8-a6fc0dbcceb3@leemhuis.info>
On 7/31/24 02:38, Linux regression tracking (Thorsten Leemhuis) wrote:
> [+amd-glx, +lkml, +dri-devel]
>
> On 27.07.24 18:52, serg.partizan@gmail.com wrote:
>>
>> After updating from 6.8.9 to 6.9.1 I noticed a bug on my HP Envy x360
>> with AMD Ryzen 5 4500U.
>>
>> [...]
>> 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
>
> Hamza Mahfooz, in case you missed it, that is a patch of yours:
> 63d0b87213a0ba ("drm/amd/display: add panel_power_savings sysfs entry to
> eDP connectors") [v6.9-rc1].
Um, for the time being you should be able to set `amdgpu.abmlevel=0` in
the kernel's cmdline to avoid the issue.
>
>> 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
>
> Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
> --
> Everything you wanna know about Linux kernel regression tracking:
> https://linux-regtracking.leemhuis.info/about/#tldr
> If I did something stupid, please tell me, as explained on that page.
>
> P.S.:
>
> #regzbot introduced: 63d0b87213a0ba241
--
Hamza
next prev parent reply other threads:[~2024-08-02 15:18 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 ` Linux regression tracking (Thorsten Leemhuis)
2024-08-02 15:18 ` Hamza Mahfooz [this message]
2024-08-17 23:46 ` Filip Hejsek
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=7699dc60-89b7-4387-84e9-50974c345c9e@amd.com \
--to=hamza.mahfooz@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
--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
all inboxes | Powered by JetHome®