drm/amd/powerplay: get eclk/vclk/dclk for smu11
authorLikun Gao <Likun.Gao@amd.com>
Mon, 28 Jan 2019 04:04:46 +0000 (12:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:01 +0000 (15:04 -0500)
commit83e21f5754b0dd1f60541cb28672ff6e7b8261a3
tree24141ec172b6c3ee338c39da66447973bbd1de1c
parent96026ce0199c4c0c3d19dd0673dcbaf55e2897d3
drm/amd/powerplay: get eclk/vclk/dclk for smu11

Get eclk, vclk and dclk info from vbios when hw init for smu11.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c