drm/amd/powerplay: change ASIC temperature reading on Vega10
Subsystems (2)
PATCH 1/1 drm/amd/powerplay: change ASIC temperature reading on Vega10
ASIC temperature reading from HOTSPOT to ASIC edge.
--- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c +2 -2
@@ -365,8 +365,8 @@ int vega10_thermal_get_temperature(struct pp_hwmgr *hwmgr) temp =cgs_read_register (hwmgr->device, reg); - temp = (temp &CG_MULT_THERMAL_STATUS__ASIC_MAX_TEMP_MASK ) >> -CG_MULT_THERMAL_STATUS__ASIC_MAX_TEMP__SHIFT ; + temp = (temp &CG_MULT_THERMAL_STATUS__CTF_TEMP_MASK ) >> +CG_MULT_THERMAL_STATUS__CTF_TEMP__SHIFT ; temp = temp &0x1ff ;
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1509132673-14657-1-git-send-email-JinHuiEric.Huang-5C7GfCeVMHo@public.gmane.org
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 9 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Eric Huang
Sent: Friday, October 27, 2017 3:31 PM
To: [email protected]
Cc: Huang, JinHuiEric
Subject: [PATCH] drm/amd/powerplay: change ASIC temperature reading on Vega10
Quoted 3 lines
ASIC temperature reading from HOTSPOT to ASIC edge.
Signed-off-by Eric Huang <[email protected]>
Maybe add to the commit message that this makes things consistent with previous asics.
Quoted 27 lines
--- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c +0
-1@@ -365,8 +365,8 @@ int vega10_thermal_get_temperature(struct pp_hwmgr *hwmgr) temp =cgs_read_register (hwmgr->device, reg); - temp = (temp &
CG_MULT_THERMAL_STATUS__ASIC_MAX_TEMP_MASK) >>
-CG_MULT_THERMAL_STATUS__ASIC_MAX_TEMP__SHIFT;drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c +1
-0+ temp = (temp &CG_MULT_THERMAL_STATUS__CTF_TEMP_MASK )Quoted 1 line
Quoted 1 line
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c +1
-1+CG_MULT_THERMAL_STATUS__CTF_TEMP__SHIFT ; temp = temp &0x1ff ; --2.7.4
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx