View previous topic :: View next topic |
Author |
Message |
sublogic Apprentice
Joined: 21 Mar 2022 Posts: 294 Location: Pennsylvania, USA
|
Posted: Mon Jan 06, 2025 3:22 am Post subject: [SOLVED] gentoo-sources-6.6.67 amdgpu, backlight issue |
|
|
(Marking as solved because 6.13.rc5 from kernel.org doesn't have the issue. More of a "heads-up" in case someone else sees the same thing.)
On gentoo-sources-6.6.67, after resuming from suspend or hibernate, the backlight stays stuck at high brightness. The files in /sys/class/backlight/amdgpu_bl0 don't work, they show the requested brightness and writing to them doesn't change anything.
Hardware: HP EliteBook 745 G6; from lspci: Code: | VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev d1) |
It bisects to this: Code: | commit 2daba7d857e48035d71cdd95964350b6d0d51545
Author: Alex Deucher <alexander.deucher@amd.com>
Date: Mon Nov 25 13:59:09 2024 -0500
drm/amdgpu: rework resume handling for display (v2)
commit 73dae652dcac776296890da215ee7dec357a1032 upstream.
Split resume into a 3rd step to handle displays when DCC is
enabled on DCN 4.0.1. Move display after the buffer funcs
have been re-enabled so that the GPU will do the move and
properly set the DCC metadata for DCN.
v2: fix fence irq resume ordering
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.11.x
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 45 ++++++++++++++++++++++++++++--
1 file changed, 43 insertions(+), 2 deletions(-) | Yep, it sure seems related.
I'll probably bug the kernel.org people even though it is fixed in 6.13-rc5, because gentoo-sources-6.12.8 still has it and that is (based on) the latest stable kernel. I'll try 6.6.69 first. Stay tuned.
EDIT: 6.6.69 is bad.
Filed https://gitlab.freedesktop.org/drm/amd/-/issues/3879 .
Last edited by sublogic on Tue Jan 07, 2025 1:28 am; edited 1 time in total |
|
Back to top |
|
|
sublogic Apprentice
Joined: 21 Mar 2022 Posts: 294 Location: Pennsylvania, USA
|
Posted: Tue Jan 07, 2025 1:27 am Post subject: |
|
|
It turned out to be a mistake in a backport from Linus Torvalds' tree to the stable series, which explains why 6.13-rc5 was unaffected. Already fixed. My report upstream was a duplicate (but that wasn't obvious, the descriptions and symptoms are different).
I filed a gentoo bug because the fix is in line for the 6.12.x series but I don't see it queued for 6.6.x . Devs can do what they want. Meanwhile, my /etc/portage/patches/ takes care of it. Now running 6.6.67 with no issues. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|