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)
In Progress
High
You-Sheng Yang
Noble
In Progress
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
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.