diff options
author | Xiaomeng Hou <Xiaomeng.Hou@amd.com> | 2019-12-04 17:01:21 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-12-11 15:22:07 -0500 |
commit | a0250689cbb5a8e32f816b3c4778920ce7c44d91 (patch) | |
tree | d804832ce53ba1a0af0a9d2c354cac20b21c77a2 /drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | |
parent | e304adc06ebfa0ea399b181d795f2efc51dcda12 (diff) | |
download | linux-a0250689cbb5a8e32f816b3c4778920ce7c44d91.tar.bz2 |
drm/amd/powerplay: correct the value retrieved through GPU_LOAD sensor interface
the unit of variable AverageGfxActivity defined in smu12 metrics
struct is centi, so the retrieved value should be divided by 100 before
return.
Signed-off-by: Xiaomeng Hou <Xiaomeng.Hou@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c')
0 files changed, 0 insertions, 0 deletions