drm/amd/pp: implement dpm_get_sclk/mclk for RV
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 12 Dec 2017 07:06:10 +0000 (15:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Dec 2017 22:31:01 +0000 (17:31 -0500)
commit7364d60882bfe87aa170a5e69a84872692469088
tree2e8917a6d459b8fe9dffb1cd3680173c1a8c79f6
parentc4c3351783cb1758801a5928c98b0dcb2074c082
drm/amd/pp: implement dpm_get_sclk/mclk for RV

RV implementation was missing these callbacks.  Used
to fetch the clock values for other components.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c