summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/rv770_dpm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-02 18:40:35 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-07-05 18:09:30 -0400
commit8b5e6b7f0ec81f237d87cf9632309db9481c6fb5 (patch)
tree2b0cfc0679841fe0afbe5ef24a0e11f0a8b26582 /drivers/gpu/drm/radeon/rv770_dpm.h
parent70d01a5ee29fcb23a6b5948227b1aee212922ade (diff)
downloadop-kernel-dev-8b5e6b7f0ec81f237d87cf9632309db9481c6fb5.zip
op-kernel-dev-8b5e6b7f0ec81f237d87cf9632309db9481c6fb5.tar.gz
drm/radeon/dpm: implement force performance levels for 7xx/eg/btc
Allows you to limit the selected power levels via sysfs. 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/rv770_dpm.h b/drivers/gpu/drm/radeon/rv770_dpm.h
index f1e1fcf..96b1b2a 100644
--- a/drivers/gpu/drm/radeon/rv770_dpm.h
+++ b/drivers/gpu/drm/radeon/rv770_dpm.h
@@ -262,7 +262,8 @@ void rv770_stop_dpm(struct radeon_device *rdev);
void r7xx_stop_smc(struct radeon_device *rdev);
void rv770_reset_smio_status(struct radeon_device *rdev);
int rv770_restrict_performance_levels_before_switch(struct radeon_device *rdev);
-int rv770_unrestrict_performance_levels_after_switch(struct radeon_device *rdev);
+int rv770_dpm_force_performance_level(struct radeon_device *rdev,
+ enum radeon_dpm_forced_level level);
int rv770_halt_smc(struct radeon_device *rdev);
int rv770_resume_smc(struct radeon_device *rdev);
int rv770_set_sw_state(struct radeon_device *rdev);
OpenPOWER on IntegriCloud