drm/amdgpu/powerplay/vega10: fix typo in register base index
Subsystems (2)
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.
Reported-by Michael von Khurja <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- 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
@@ -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
Felix Kuehling
Reviewed-byReviewed-by Felix Kuehling <[email protected]>
Quoted 14 lines · Alex Deucher
Probably a copy pasta. No functional difference, both have the same value.
Reported-by Michael von Khurja <[email protected]>Signed-off-by Alex Deucher <[email protected]>--- 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
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