aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/logicvc/logicvc_interface.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2023-06-14 12:07:56 +0200
committerRafael J. Wysocki <[email protected]>2023-06-15 18:07:48 +0200
commit0bb619f9227aa370330d2b309733d74750705053 (patch)
treec04bac909d134ce43de5e146c586da209777bc42 /drivers/gpu/drm/logicvc/logicvc_interface.c
parent858fd168a95c5b9669aac8db6c14a9aeab446375 (diff)
thermal/intel/intel_soc_dts_iosf: Fix reporting wrong temperatures
Since commit 955fb8719efb ("thermal/intel/intel_soc_dts_iosf: Use Intel TCC library") intel_soc_dts_iosf is reporting the wrong temperature. The driver expects tj_max to be in milli-degrees-celcius but after the switch to the TCC library this is now in degrees celcius so instead of e.g. 90000 it is set to 90 causing a temperature 45 degrees below tj_max to be reported as -44910 milli-degrees instead of as 45000 milli-degrees. Fix this by adding back the lost factor of 1000. Fixes: 955fb8719efb ("thermal/intel/intel_soc_dts_iosf: Use Intel TCC library") Reported-by: Bernhard Krug <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Acked-by: Zhang Rui <[email protected]> Cc: 6.3+ <[email protected]> # 6.3+ Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/logicvc/logicvc_interface.c')
0 files changed, 0 insertions, 0 deletions