diff options
| author | Kevin Wang <kevin.wang@amd.com> | 2026-10-15 14:02:09 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-10-27 17:03:52 -0400 |
| commit | 6027db7db773714f2e05df82093276f2a52a1fba (patch) | |
| tree | e859ce7d397fcfc9d556922d306f8cfb68d7697a /scripts/Makefile.thinlto | |
| parent | 167df3b94680b8670c4cacc08af232e3bfcab5ff (diff) | |
| download | linux-next-6027db7db773714f2e05df82093276f2a52a1fba.tar.gz linux-next-6027db7db773714f2e05df82093276f2a52a1fba.zip | |
drm/amd/pm: preserve committed OD features for SMU 13.0.0/13.0.7
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 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>
Tested-by: José Miguel Sarasola <alosarjos@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit adf63026e1fa706de48d986ac6c1a7cb64cbf927)
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
