summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/ni_dpm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-05-14 18:21:17 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-27 19:40:13 -0400
commitd434e81e59aada1b68444e9a128d56ccc295f66a (patch)
treeb3ef0c86c6d436afde92cde19814e34e6b813ac8 /drivers/gpu/drm/radeon/ni_dpm.h
parent02478a102be592a8b48be03d62f0fdddb51ab786 (diff)
downloadlinux-d434e81e59aada1b68444e9a128d56ccc295f66a.tar.bz2
drm/radeon/dpm: fix UVD clock setting on cayman
The rv770 version was using the wrong power state type. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/ni_dpm.h')
-rw-r--r--drivers/gpu/drm/radeon/ni_dpm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ni_dpm.h b/drivers/gpu/drm/radeon/ni_dpm.h
index 887442497bff..ac1c7abf2c67 100644
--- a/drivers/gpu/drm/radeon/ni_dpm.h
+++ b/drivers/gpu/drm/radeon/ni_dpm.h
@@ -238,4 +238,11 @@ void ni_update_current_ps(struct radeon_device *rdev,
void ni_update_requested_ps(struct radeon_device *rdev,
struct radeon_ps *rps);
+void ni_set_uvd_clock_before_set_eng_clock(struct radeon_device *rdev,
+ struct radeon_ps *new_ps,
+ struct radeon_ps *old_ps);
+void ni_set_uvd_clock_after_set_eng_clock(struct radeon_device *rdev,
+ struct radeon_ps *new_ps,
+ struct radeon_ps *old_ps);
+
#endif