drm/amd/powerplay: commonize the API for retrieving current clocks
authorEvan Quan <evan.quan@amd.com>
Wed, 24 Oct 2018 04:57:56 +0000 (12:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Oct 2018 19:04:03 +0000 (14:04 -0500)
commit3732eb0683c17113201cd29fdefd7a58b1acfa7f
tree62d481cb7fd4a90f7b83df4d35ffbc3b9613cbf4
parent7dc94969e165464896366fcb096f4be18ba56f44
drm/amd/powerplay: commonize the API for retrieving current clocks

So that it can be shared between all clocks.

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