OpenCloudOS-Kernel/drivers/gpu/drm/amd
Sandeep Raghuraman d98299885c 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-09-03 00:37:14 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm fixes for 5.9-rc3 2020-08-28 09:46:48 -07:00
amdkfd drm/amd/amdkfd: Fix large framesize for kfd_smi_ev_read() 2020-07-15 13:27:34 -04:00
display drm/amd/display: Fix memleak in amdgpu_dm_mode_config_init 2020-08-26 15:45:52 -04:00
include drm/amd/display: Read VBIOS Golden Settings Tbl 2020-08-06 16:47:13 -04:00
powerplay drm/amdgpu: Fix bug in reporting voltage for CIK 2020-09-03 00:37:14 -04:00