OSDN Git Service

drm/amdgpu/powerplay/vega10: fix typo in register base index
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 24 Aug 2017 20:04:50 +0000 (16:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Aug 2017 19:27:57 +0000 (15:27 -0400)
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>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c

index d442434..d8551ae 100644 (file)
@@ -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);