summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-03 00:50:09 +0200
committerAlex Deucher <alexander.deucher@amd.com>2013-07-06 00:09:56 +0200
commit5d5e559193afd516daae9816e892bf2d97be0988 (patch)
tree84bc1a5fc293068c29700a2e574fa8dde353e836 /drivers/gpu/drm/radeon/radeon_asic.h
parentdrm/radeon/dpm: implement force performance level for SI (diff)
downloadlinux-5d5e559193afd516daae9816e892bf2d97be0988.tar.xz
linux-5d5e559193afd516daae9816e892bf2d97be0988.zip
drm/radeon/dpm: implement force performance level for ON/LN
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 7efa51a13b3c..1a89b3af04f3 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -569,6 +569,8 @@ void sumo_dpm_print_power_state(struct radeon_device *rdev,
struct radeon_ps *ps);
void sumo_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev,
struct seq_file *m);
+int sumo_dpm_force_performance_level(struct radeon_device *rdev,
+ enum radeon_dpm_forced_level level);
/*
* cayman