To support AMD Adaptive Backlight Management (ABM) for power profiles daemon >= 2.0

Bug #2056716 reported by You-Sheng Yang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
New
Undecided
Unassigned
linux (Ubuntu)
Invalid
High
You-Sheng Yang
Noble
Fix Committed
High
You-Sheng Yang

Bug Description

[SRU Justification]

[Impact]

power-profiles-daemon >= 2.0 now utilizes AMD GPU panel_power_savings
sysfs entry to set desired panel power saving level. Related kernel
fixes are to be released in v6.9.

[Fix]

Two linux-next committed fixes are required. The first one introduces
panel_power_savings sysfs entry itself, and the second one extends
abmlevel sysfs entry to allow an auto mode.

[Test Case]

1. Check existence of panel_power_savings sysfs entry:

   $ cat /sys/class/drm/card0-eDP-1/amdgpu/panel_power_savings
   -1

2. Remove power cable and switch between power profiles from Power
Management settings. The content of above panel_power_savings sysfs
entry should be updated correspondingly.

[Where problems could occur]

While the abmlevel entry now has a different default value that allows
automatic power management, the behavior may differ from users'
expectation.

[Other Info]

power-profiles-daemon >= 0.20 is only available on Noble or later at
this moment, so only Noble/Unstable will be nominated for fix.

========== original bug report ==========

Required kernel fixes (in linux-next):
* https://gitlab.freedesktop.org/agd5f/linux/-/commit/63d0b87213a0ba241b3fcfba3fe7b0aed0cd1cc5
* https://gitlab.freedesktop.org/agd5f/linux/-/commit/040fdcde288a2830edc31dd507963d6aadf990d2

See also power-profiles-daemon merge request https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/137

You-Sheng Yang (vicamo)
tags: added: amd oem-priority originate-from-2055169
Changed in linux (Ubuntu Noble):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :
description: updated
Timo Aaltonen (tjaalton)
Changed in linux (Ubuntu):
status: In Progress → Invalid
Changed in linux (Ubuntu Noble):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/6.8.0-32.32 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux' to 'verification-done-noble-linux'. If the problem still exists, change the tag 'verification-needed-noble-linux' to 'verification-failed-noble-linux'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-noble-linux-v2 verification-needed-noble-linux
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.