diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-02 18:43:53 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-05 18:09:38 -0400 |
commit | 170a47f010182152bed6f44f3878dd0423df2b78 (patch) | |
tree | a21b39332085c37c78d3c0593e49d884d25307cf /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | 8b5e6b7f0ec81f237d87cf9632309db9481c6fb5 (diff) |
drm/radeon/dpm: implement force performance level for cayman
Allows you to force a performance level via sysfs.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index a053dc1e7866..2bacc777d549 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h | |||
@@ -617,6 +617,8 @@ void ni_dpm_print_power_state(struct radeon_device *rdev, | |||
617 | struct radeon_ps *ps); | 617 | struct radeon_ps *ps); |
618 | void ni_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev, | 618 | void ni_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev, |
619 | struct seq_file *m); | 619 | struct seq_file *m); |
620 | int ni_dpm_force_performance_level(struct radeon_device *rdev, | ||
621 | enum radeon_dpm_forced_level level); | ||
620 | int trinity_dpm_init(struct radeon_device *rdev); | 622 | int trinity_dpm_init(struct radeon_device *rdev); |
621 | int trinity_dpm_enable(struct radeon_device *rdev); | 623 | int trinity_dpm_enable(struct radeon_device *rdev); |
622 | void trinity_dpm_disable(struct radeon_device *rdev); | 624 | void trinity_dpm_disable(struct radeon_device *rdev); |