diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-02 22:40:35 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-05 22:09:30 (GMT) |
commit | 8b5e6b7f0ec81f237d87cf9632309db9481c6fb5 (patch) | |
tree | 2b0cfc0679841fe0afbe5ef24a0e11f0a8b26582 /drivers/gpu/drm/radeon/rv770_dpm.h | |
parent | 70d01a5ee29fcb23a6b5948227b1aee212922ade (diff) | |
download | linux-fsl-qoriq-8b5e6b7f0ec81f237d87cf9632309db9481c6fb5.tar.xz |
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.h | 3 |
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); |