summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/rv770_dpm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-06-28 02:54:46 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-28 03:16:12 +0400
commit5d77d776416a8881e49d42a30e0eaa919fc98ba5 (patch)
tree6dc48c87becb61cbc96d7cd7f8a44f0813ba8fe5 /drivers/gpu/drm/radeon/rv770_dpm.h
parentc70d45536c2e76751dd036951c523e1401eb6e07 (diff)
downloadlinux-5d77d776416a8881e49d42a30e0eaa919fc98ba5.tar.xz
drm/radeon/dpm/rv7xx: restructure code
Needed to properly handle dynamic state adjustment. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/rv770_dpm.h')
-rw-r--r--drivers/gpu/drm/radeon/rv770_dpm.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/rv770_dpm.h b/drivers/gpu/drm/radeon/rv770_dpm.h
index d1fb1cfac43d..7fa14b9557f3 100644
--- a/drivers/gpu/drm/radeon/rv770_dpm.h
+++ b/drivers/gpu/drm/radeon/rv770_dpm.h
@@ -267,8 +267,12 @@ int rv770_resume_smc(struct radeon_device *rdev);
int rv770_set_sw_state(struct radeon_device *rdev);
int rv770_set_boot_state(struct radeon_device *rdev);
int rv7xx_parse_power_table(struct radeon_device *rdev);
-void rv770_set_uvd_clock_before_set_eng_clock(struct radeon_device *rdev);
-void rv770_set_uvd_clock_after_set_eng_clock(struct radeon_device *rdev);
+void rv770_set_uvd_clock_before_set_eng_clock(struct radeon_device *rdev,
+ struct radeon_ps *new_ps,
+ struct radeon_ps *old_ps);
+void rv770_set_uvd_clock_after_set_eng_clock(struct radeon_device *rdev,
+ struct radeon_ps *new_ps,
+ struct radeon_ps *old_ps);
/* smc */
int rv770_read_smc_soft_register(struct radeon_device *rdev,