summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-02 18:50:09 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-07-05 18:09:56 -0400
commit5d5e559193afd516daae9816e892bf2d97be0988 (patch)
tree84bc1a5fc293068c29700a2e574fa8dde353e836 /drivers/gpu/drm/radeon/radeon_asic.h
parenta160a6a3367611351624fca06838000b02aae2c7 (diff)
downloadop-kernel-dev-5d5e559193afd516daae9816e892bf2d97be0988.zip
op-kernel-dev-5d5e559193afd516daae9816e892bf2d97be0988.tar.gz
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 7efa51a..1a89b3a 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
OpenPOWER on IntegriCloud