summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-15 18:14:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 16:30:30 -0400
commit89536fd600f9997e776eef6c666cc61ea8c55f07 (patch)
tree994d2484a3cd8be3d8e9d71ebe0574038ff672ae /drivers/gpu/drm/radeon/radeon_asic.h
parent94b4adc5ae30fb451300bdca901ae9771f6baf5f (diff)
downloadop-kernel-dev-89536fd600f9997e776eef6c666cc61ea8c55f07.zip
op-kernel-dev-89536fd600f9997e776eef6c666cc61ea8c55f07.tar.gz
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.h2
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 371a6f2..a887928 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);
OpenPOWER on IntegriCloud