diff options
| author | Kevin Wang <kevin.wang@amd.com> | 2026-10-15 14:02:31 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-10-27 17:04:09 -0400 |
| commit | 9b0890e72d19b0c430fe62bad290c7c79baa78e4 (patch) | |
| tree | 2c74b3a8e602f325439962517bc1d39a0adc6572 /scripts/Makefile.thinlto | |
| parent | af52c8fd45fbd5e3b7a329858733ac674abe539c (diff) | |
| download | linux-next-9b0890e72d19b0c430fe62bad290c7c79baa78e4.tar.gz linux-next-9b0890e72d19b0c430fe62bad290c7c79baa78e4.zip | |
drm/amd/pm: preserve committed OD features for SMU 14.0.2
PMFW treats FeatureCtrlMask as the complete set of active OD features.
Uploads containing only newly edited bits can drop earlier settings.
Fix the OD state handling to:
- preserve committed features across later commits
- keep fan-curve and legacy-fan bits mutually exclusive
- keep staged OD settings out of power-cap writes
- update cached state only after successful uploads
- clear restored features only after they return to defaults
- restore PPT for the current AC/DC source after resume
Closes: https://gitlab.freedesktop.org/drm/amd/-/work_items/3625
Signed-off-by: Kevin Wang <kevin.wang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 8d4ce79aff1cd1ff4feea4967c30e04eb6be8c2d)
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
