diff options
| author | Mario Limonciello <[email protected]> | 2025-05-29 16:33:44 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-06-18 17:07:59 +0000 |
| commit | ffcaed1d7ecef31198000dfbbea791f30f7ca437 (patch) | |
| tree | 32f6dc9e365eeb782c5d9e1f2191f968b51fb1de /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/amd/display: Fix RMCM programming seq errors (diff) | |
| download | kernel-ffcaed1d7ecef31198000dfbbea791f30f7ca437.tar.gz kernel-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 <[email protected]>
Cc: Alex Deucher <[email protected]>
Reviewed-by: Roman Li <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 148144f6d2f14b02eaaa39b86bbe023cbff350bd)
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
