]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pp: Fix set wrong temperature range on smu7
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 21 Mar 2018 07:48:36 +0000 (15:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Mar 2018 19:43:01 +0000 (14:43 -0500)
commit9d9c394f03c0cb9f782bc64df41676aea57f79cb
treec645b0ed2c9987e9406571a71e42ee2ecb560509
parent4d903d10ac96281ec93fde2870377c21cc49d03b
drm/amd/pp: Fix set wrong temperature range on smu7

Fix the issue thermal irq was always triggered
as GPU under temperature range detected

The low temp in default thermal policy
was set to -273. so need to use int type for the low temp.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c