diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-05-29 19:33:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-06 12:04:26 +0300 |
commit | cd711c87c2862be5e71eee79901f94e1c943f9fc (patch) | |
tree | c34298331546a588b3456438f3097df9df7e0b31 /scripts/gdb/linux/xarray.py | |
parent | 6c56c8ec6f9762c33bd22f31d43af4194d12da53 (diff) | |
download | linux-cd711c87c2862be5e71eee79901f94e1c943f9fc.tar.xz |
drm/amd/display: Only read ACPI backlight caps once
commit ffcaed1d7ecef31198000dfbbea791f30f7ca437 upstream.
[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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions