diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-15 18:14:24 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-08-30 16:30:30 -0400 |
commit | 89536fd600f9997e776eef6c666cc61ea8c55f07 (patch) | |
tree | 994d2484a3cd8be3d8e9d71ebe0574038ff672ae /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | 94b4adc5ae30fb451300bdca901ae9771f6baf5f (diff) | |
download | linux-89536fd600f9997e776eef6c666cc61ea8c55f07.tar.gz linux-89536fd600f9997e776eef6c666cc61ea8c55f07.tar.bz2 linux-89536fd600f9997e776eef6c666cc61ea8c55f07.zip |
drm/radeon/dpm: implement force performance level for CI
Allows you to force the selected 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 371a6f2c60ee..a88792865fa4 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h @@ -765,6 +765,8 @@ void ci_dpm_print_power_state(struct radeon_device *rdev, struct radeon_ps *ps); void ci_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev, struct seq_file *m); +int ci_dpm_force_performance_level(struct radeon_device *rdev, + enum radeon_dpm_forced_level level); int kv_dpm_init(struct radeon_device *rdev); int kv_dpm_enable(struct radeon_device *rdev); |