drm/amd/powerplay: implement get_current_clk_freq for smu11
authorKevin Wang <Kevin1.Wang@amd.com>
Tue, 15 Jan 2019 02:54:45 +0000 (10:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:57 +0000 (15:03 -0500)
commitbed3b3a1e19a08c9028db50cb1ebe2e0106c3811
tree493ac3628bfe2d66e763ebb73f9af0ed527b13b7
parente66adb1eea90703f4e1d8ea509f7ec3fe0b4be6d
drm/amd/powerplay: implement get_current_clk_freq for smu11

This patch implements get_current_clk_freq for smu11 future use.

Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-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