diff options
| author | Kevin Wang <kevin.wang@amd.com> | 2026-08-26 09:51:55 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-10 12:55:42 -0400 |
| commit | 13ddcc7acb9adbed7627e952a61d1d62cd9546fc (patch) | |
| tree | 65c8aef04a67bdb21628ca867f468cb48ab10efc /scripts/Makefile.thinlto | |
| parent | 8cfd9e22eb5c04b15b82985ff913944f84673d4f (diff) | |
| download | linux-13ddcc7acb9adbed7627e952a61d1d62cd9546fc.tar.gz linux-13ddcc7acb9adbed7627e952a61d1d62cd9546fc.zip | |
drm/amd/pm: fix gpu metrics energy accumulator for smu 13.0.0/13.0.7
GPU metrics v1.3 defines energy_accumulator as a 64‑bit field.
The unsupported‑firmware code path assigns UINT_MAX, which is neither the
full‑width invalid value for this field nor its default value.
Fixes: 8de9edb35976 ("drm/amd/pm: remove invalid gpu_metrics.energy_accumulator on smu v13.0.x")
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 c2b948c4fe16eb13d98ff5d1371956cb2f55cdc6)
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
