diff options
| author | Lijo Lazar <lijo.lazar@amd.com> | 2026-08-04 14:28:12 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-08-12 09:36:24 -0400 |
| commit | 1f33a9688f2018aba8c9b7476f50999c10c6a921 (patch) | |
| tree | 15810cc15ba0db85ba3ffcdff02cb993a82f2a89 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a01ff85d6f09d83786233c6defe4f5bdfc5ff695 (diff) | |
drm/amd/pm: Keep sub-degree precision in Q10 temperatures
The Q10 temperatures were rounded to whole degrees before being scaled
to millidegrees, losing sub-degree precision. Convert them while
preserving the fractional part.
Also, use the standard MILLIDEGREE_PER_DEGREE to represent
SMU_TEMPERATURE_UNITS_PER_CENTIGRADES.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
