Skip to contentSkip to conversation

drm/amdgpu/powerplay/vega10: fix typo in register base index

PATCH In review Alex Deucher 2 participants 2 messages Aug 24, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/powerplay/vega10: fix typo in register base index

Probably a copy pasta. No functional difference, both have the same value.

---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c +1 -1
index d442434..d8551ae 100644
@@ -374,7 +374,7 @@ int vega10_thermal_get_temperature(struct pp_hwmgr *hwmgr)
 	uint32_t reg;
 
 	reg = soc15_get_register_offset(THM_HWID, 0,
-			mmCG_TACH_STATUS_BASE_IDX,  mmCG_MULT_THERMAL_STATUS);
+			mmCG_MULT_THERMAL_STATUS_BASE_IDX,  mmCG_MULT_THERMAL_STATUS);
 
 	temp = cgs_read_register(hwmgr->device, reg);
 
Signature · 6 lines
2.5.5

_______________________________________________
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): 1503605340-15961-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 14 lines · Alex Deucher

Probably a copy pasta. No functional difference, both have the same value.

---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c +0 -0
index d442434..d8551ae 100644

drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c int vega10_thermal_get_temperature(struct pp_hwmgr *hwmgr) · line 380

Quoted 8 lines
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c +1 -1
@@ -374,7 +374,7 @@ int vega10_thermal_get_temperature(struct pp_hwmgr *hwmgr)
 	uint32_t reg;
 
 	reg = soc15_get_register_offset(THM_HWID, 0,
-			mmCG_TACH_STATUS_BASE_IDX,  mmCG_MULT_THERMAL_STATUS);
+			mmCG_MULT_THERMAL_STATUS_BASE_IDX,  mmCG_MULT_THERMAL_STATUS);
 
 	temp = cgs_read_register(hwmgr->device, reg);
 

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx