summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-08-24 16:04:50 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-08-29 15:27:57 -0400
commitecf9d3448540830d2cd2fadd0cf70f236d1c5c6a (patch)
treee4d58f696f02e56c83bcd9a5bfc67588d2c7e62c /drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
parent6ac7defb5ccf2c5e7b3fc9eb648535f3b3d17bc0 (diff)
downloadop-kernel-dev-ecf9d3448540830d2cd2fadd0cf70f236d1c5c6a.zip
op-kernel-dev-ecf9d3448540830d2cd2fadd0cf70f236d1c5c6a.tar.gz
drm/amdgpu/powerplay/vega10: fix typo in register base index
Probably a copy pasta. No functional difference, both have the same value. Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Reported-by: Michael von Khurja <mvonkhurja@techpowerup.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
index d442434..d8551ae 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
@@ -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);
OpenPOWER on IntegriCloud