aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/sumo_smc.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-06-25 15:45:03 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-27 19:16:22 -0400
commit9d45ad5affddfdf3d1d5d6d5ac28024bd9ee97ee (patch)
tree36657ea2a88ab7668607815b535a6f36d2a5a071 /drivers/gpu/drm/radeon/sumo_smc.c
parentdrm/radeon: add missing UVD clock set in cayman dpm code (diff)
downloadlinux-dev-9d45ad5affddfdf3d1d5d6d5ac28024bd9ee97ee.tar.xz
linux-dev-9d45ad5affddfdf3d1d5d6d5ac28024bd9ee97ee.zip
drm/radeon/dpm: remove local sumo_get_xclk()
Use the new asic callback instead. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/sumo_smc.c')
-rw-r--r--drivers/gpu/drm/radeon/sumo_smc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/sumo_smc.c b/drivers/gpu/drm/radeon/sumo_smc.c
index 22c8151fb8f5..18abba5b5810 100644
--- a/drivers/gpu/drm/radeon/sumo_smc.c
+++ b/drivers/gpu/drm/radeon/sumo_smc.c
@@ -146,7 +146,7 @@ void sumo_enable_boost_timer(struct radeon_device *rdev)
{
struct sumo_power_info *pi = sumo_get_pi(rdev);
u32 period, unit, timer_value;
- u32 xclk = sumo_get_xclk(rdev);
+ u32 xclk = radeon_get_xclk(rdev);
unit = (RREG32_RCU(RCU_LCLK_SCALING_CNTL) & LCLK_SCALING_TIMER_PRESCALER_MASK)
>> LCLK_SCALING_TIMER_PRESCALER_SHIFT;