linux/drivers/gpu/drm/amd/pm
Sandeep Raghuraman 3425740adf drm/amdgpu: Fix bug in reporting voltage for CIK
On my R9 390, the voltage was reported as a constant 1000 mV.
This was due to a bug in smu7_hwmgr.c, in the smu7_read_sensor()
function, where some magic constants were used in a condition,
to determine whether the voltage should be read from PLANE2_VID
or PLANE1_VID. The VDDC mask was incorrectly used, instead of
the VDDGFX mask.

This patch changes the code to use the correct defined constants
(and apply the correct bitshift), thus resulting in correct voltage reporting.

Signed-off-by: Sandeep Raghuraman <sandy.8925@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-08-27 10:11:47 -04:00
..
inc drm/amd/pm: add SMU11 common deep sleep control interface 2020-08-18 18:21:56 -04:00
powerplay drm/amdgpu: Fix bug in reporting voltage for CIK 2020-08-27 10:11:47 -04:00
swsmu drm/amd/pm: enable MP0 DPM for sienna_cichlid 2020-08-27 10:09:14 -04:00
amdgpu_dpm.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
amdgpu_pm.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
Makefile