diff options
author | 2025-05-29 11:33:44 -0500 | |
---|---|---|
committer | 2025-06-18 13:07:59 -0400 | |
commit | ffcaed1d7ecef31198000dfbbea791f30f7ca437 (patch) | |
tree | 32f6dc9e365eeb782c5d9e1f2191f968b51fb1de /tools/perf/scripts/python | |
parent | drm/amd/display: Fix RMCM programming seq errors (diff) | |
download | wireguard-linux-ffcaed1d7ecef31198000dfbbea791f30f7ca437.tar.xz wireguard-linux-ffcaed1d7ecef31198000dfbbea791f30f7ca437.zip |
drm/amd/display: Only read ACPI backlight caps once
[WHY]
Backlight caps are read already in amdgpu_dm_update_backlight_caps().
They may be updated by update_connector_ext_caps(). Reading again when
registering backlight device may cause wrong values to be used.
[HOW]
Use backlight caps already registered to the dm.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 148144f6d2f14b02eaaa39b86bbe023cbff350bd)
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions