diff options
author | 2019-12-04 17:01:21 +0800 | |
---|---|---|
committer | 2019-12-11 15:22:07 -0500 | |
commit | a0250689cbb5a8e32f816b3c4778920ce7c44d91 (patch) | |
tree | d804832ce53ba1a0af0a9d2c354cac20b21c77a2 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
parent | drm/amd/powerplay: implement the get_enabled_mask callback for smu12 (diff) | |
download | linux-dev-a0250689cbb5a8e32f816b3c4778920ce7c44d91.tar.xz linux-dev-a0250689cbb5a8e32f816b3c4778920ce7c44d91.zip |
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/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions