summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
diff options
context:
space:
mode:
authorXiaomeng Hou <Xiaomeng.Hou@amd.com>2019-12-04 17:01:21 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-12-11 15:22:07 -0500
commita0250689cbb5a8e32f816b3c4778920ce7c44d91 (patch)
treed804832ce53ba1a0af0a9d2c354cac20b21c77a2 /drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
parente304adc06ebfa0ea399b181d795f2efc51dcda12 (diff)
downloadlinux-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