aboutsummaryrefslogtreecommitdiffstats
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
parent6ac7defb5ccf2c5e7b3fc9eb648535f3b3d17bc0 (diff)
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>
-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 d44243441d28..d8551ae79f53 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)
374 uint32_t reg; 374 uint32_t reg;
375 375
376 reg = soc15_get_register_offset(THM_HWID, 0, 376 reg = soc15_get_register_offset(THM_HWID, 0,
377 mmCG_TACH_STATUS_BASE_IDX, mmCG_MULT_THERMAL_STATUS); 377 mmCG_MULT_THERMAL_STATUS_BASE_IDX, mmCG_MULT_THERMAL_STATUS);
378 378
379 temp = cgs_read_register(hwmgr->device, reg); 379 temp = cgs_read_register(hwmgr->device, reg);
380 380