lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7699dc60-89b7-4387-84e9-50974c345c9e@amd.com>
Date: Fri, 2 Aug 2024 11:18:48 -0400
From: Hamza Mahfooz <hamza.mahfooz@....com>
To: Linux regressions mailing list <regressions@...ts.linux.dev>
Cc: alexander.deucher@....com, serg.partizan@...il.com,
 "amd-gfx@...ts.freedesktop.org" <amd-gfx@...ts.freedesktop.org>,
 mario.limonciello@....com, ML dri-devel <dri-devel@...ts.freedesktop.org>,
 LKML <linux-kernel@...r.kernel.org>
Subject: Re: [REGRESSION] Brightness at max level after waking up from sleep
 on AMD Laptop

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@...il.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ