diff options
author | Kent Russell <kent.russell@amd.com> | 2019-08-22 08:17:40 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-22 17:17:35 -0500 |
commit | 32e40ffbced3b14ceac1ae13a1a66c5849a6d2d3 (patch) | |
tree | bf617e730df6fd4065c7206e06c24709d85ce797 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | |
parent | ea207b29ae7718a8717de6ea784e99d41826e642 (diff) |
drm/powerplay: Fix Vega20 Average Power value v4
The SMU changed reading from CurrSocketPower to AverageSocketPower, so
reflect this accordingly. This fixes the issue where Average Power
Consumption was being reported as 0 from SMU 40.46-onward
v2: Fixed headline prefix
v3: Add check for SMU version for proper compatibility
v4: Style fix
Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions