summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-05-14 18:24:34 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-27 19:40:14 -0400
commite34568b89233004f1679cc801859a00b48c6163d (patch)
treeeb2e9e4c630707a642b39bd0c6a1d5549c02fe21 /drivers
parentd434e81e59aada1b68444e9a128d56ccc295f66a (diff)
drm/radeon/dpm: fix UVD clock setting on SI
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/radeon/si_dpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c
index d1af9549f302..494ba17cc028 100644
--- a/drivers/gpu/drm/radeon/si_dpm.c
+++ b/drivers/gpu/drm/radeon/si_dpm.c
@@ -5883,7 +5883,7 @@ int si_dpm_set_power_state(struct radeon_device *rdev)
}
if (eg_pi->pcie_performance_request)
si_request_link_speed_change_before_state_change(rdev, new_ps, old_ps);
- rv770_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps);
+ ni_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps);
ret = si_enable_power_containment(rdev, new_ps, false);
if (ret) {
DRM_ERROR("si_enable_power_containment failed\n");
@@ -5948,7 +5948,7 @@ int si_dpm_set_power_state(struct radeon_device *rdev)
DRM_ERROR("si_set_sw_state failed\n");
return ret;
}
- rv770_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps);
+ ni_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps);
if (eg_pi->pcie_performance_request)
si_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps);
ret = si_set_power_state_conditionally_enable_ulv(rdev, new_ps);