linux/drivers/gpu/drm/amd/pm/swsmu/inc
Lijo Lazar 1f33a9688f 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>
2026-08-12 09:36:24 -04:00
..
pmfw_if drm/amd/pm/smu15: switch SMU v15.0.0 to DRAM-based accumulator metrics 2026-08-06 09:25:33 -04:00
amdgpu_smu.h drm/amd/pm: Keep sub-degree precision in Q10 temperatures 2026-08-12 09:36:24 -04:00
smu_11_0_cdr_table.h drm/amd/pm: that open brace { should be on the previous line 2023-07-27 14:47:45 -04:00
smu_types.h drm/amd/pm/smu15: switch SMU v15.0.0 to DRAM-based accumulator metrics 2026-08-06 09:25:33 -04:00
smu_v11_0_7_pptable.h drm/amd/pm: suppress compile warnings about possible unaligned accesses 2022-06-03 16:43:36 -04:00
smu_v11_0_pptable.h drm/amd/pm: Clean up errors in smu_v11_0_pptable.h 2023-08-15 18:08:29 -04:00
smu_v11_0.h drm/amd/pm: refactor PPT limits by controller and power source 2026-08-06 09:26:07 -04:00
smu_v12_0.h drm/amd/pm: Unify version check in SMUv12 2026-03-30 15:13:06 -04:00
smu_v13_0_7_pptable.h drm/amd/pm: open brace '{' following struct go on the same line 2023-07-27 14:47:49 -04:00
smu_v13_0_0_pptable.h drm/amd/pm: place the smu 13.0.0 pptable header into the correct folder 2025-09-23 10:22:16 -04:00
smu_v13_0_pptable.h drm/amd/pm: suppress compile warnings about possible unaligned accesses 2022-06-03 16:43:36 -04:00
smu_v13_0.h drm/amd/pm: Keep sub-degree precision in Q10 temperatures 2026-08-12 09:36:24 -04:00
smu_v14_0_2_pptable.h drm/amd/pm: update powerplay structure on smu v14.0.2/3 2024-08-06 10:41:40 -04:00
smu_v14_0.h drm/amd/pm: refactor PPT limits by controller and power source 2026-08-06 09:26:07 -04:00
smu_v15_0.h drm/amd/pm: refactor PPT limits by controller and power source 2026-08-06 09:26:07 -04:00