drm/amd/powerplay: print overdrive percentage information for smu11
authorLikun Gao <Likun.Gao@amd.com>
Fri, 11 Jan 2019 10:47:14 +0000 (18:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:59 +0000 (15:03 -0500)
commit6d7c830271ad5c54a3ee04fef0420ec89d6e37fd
treea279dcf77c20c624aa8983fff2ac173c39a7da5d
parent95add9591adab7002e203d5c1c57796e752b15e5
drm/amd/powerplay: print overdrive percentage information for smu11

Add function to get sclk or mclk overdrive percentage information for smu11.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/vega20_ppt.c