drm/amd/powerplay: commonize the API for retrieving current clocks
authorEvan Quan <[email protected]>
Wed, 24 Oct 2018 04:57:56 +0000 (12:57 +0800)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Reviewed-by: Feifei Xu<[email protected]>
Reviewed-by: Rex Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c