aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
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/amdgpu_virt.h
parentdrm/amd/powerplay: implement the get_enabled_mask callback for smu12 (diff)
downloadlinux-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