linux/drivers/gpu/drm/amd/powerplay
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
..
hwmgr drm/amdgpu: Fix bug in reporting voltage for CIK 2020-09-03 00:37:14 -04:00
inc drm/amd/powerplay: update swSMU VCN/JPEG PG logics 2020-08-07 17:48:57 -04:00
smumgr drm/amdgpu: Specify get_argument function for ci_smu_funcs 2020-09-03 00:36:37 -04:00
amd_powerplay.c drm/amd/powerplay: perform PG ungate prior to CG ungate 2020-05-06 16:51:15 -04:00
amdgpu_smu.c drm/amd/powerplay: put VCN/JPEG into PG ungate state before dpm table setup(V3) 2020-08-07 17:50:38 -04:00
arcturus_ppt.c drm/amd/pm: fix is_dpm_running() run error on 32bit system 2020-09-03 00:33:16 -04:00
arcturus_ppt.h drm/amd/powerplay: update arcturus_ppt.c/h V3 2019-07-30 23:48:33 -05:00
Makefile drm/amd/powerplay: unify swSMU index to asic specific index mapping 2020-07-21 15:37:37 -04:00
navi10_ppt.c drm/amd/pm: fix is_dpm_running() run error on 32bit system 2020-09-03 00:33:16 -04:00
navi10_ppt.h drm/amdgpu/smu: custom pstate profiling clock frequence for navi series asics 2020-01-07 12:01:09 -05:00
renoir_ppt.c drm/amd/powerplay: update swSMU VCN/JPEG PG logics 2020-08-07 17:48:57 -04:00
renoir_ppt.h drm/amd/powerplay: drop smu_v12_0.c unnecessary wrapper V2 2020-07-15 12:43:38 -04:00
sienna_cichlid_ppt.c drm/amd/pm: enable MP0 DPM for sienna_cichlid 2020-09-03 00:36:02 -04:00
sienna_cichlid_ppt.h drm/amd/powerplay: support to get power index for sienna_cichlid 2020-06-03 13:52:13 -04:00
smu_cmn.c drm/amd/powerplay: off by one bugs in smu_cmn_to_asic_specific_index() 2020-08-06 16:34:56 -04:00
smu_cmn.h drm/amd/powerplay: drop unnecessary message support check(v2) 2020-08-06 16:33:18 -04:00
smu_internal.h drm/amd/powerplay: put VCN/JPEG into PG ungate state before dpm table setup(V3) 2020-08-07 17:50:38 -04:00
smu_v11_0.c drm/amdgpu: enable GFXOFF for navy_flounder 2020-08-06 16:45:46 -04:00
smu_v12_0.c drm/amd/powerplay: tag swSMU code layers 2020-07-21 15:37:38 -04:00