summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-18 16:48:46 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 16:30:33 -0400
commit2b4c8022fa95de43f590629b3af611e531e7199a (patch)
tree0caa36332b13589f91c7d8b3bb811ca01eea6091 /drivers/gpu/drm/radeon/radeon_asic.h
parentae3e40e8712414321ef2b61e8bb26a5d9701643b (diff)
downloadblackbird-op-linux-2b4c8022fa95de43f590629b3af611e531e7199a.tar.gz
blackbird-op-linux-2b4c8022fa95de43f590629b3af611e531e7199a.zip
drm/radeon/dpm: implement force performance level for KB/KV
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 80ad5d89e4bb..1e386c48ae2d 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -784,5 +784,7 @@ void kv_dpm_print_power_state(struct radeon_device *rdev,
struct radeon_ps *ps);
void kv_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev,
struct seq_file *m);
+int kv_dpm_force_performance_level(struct radeon_device *rdev,
+ enum radeon_dpm_forced_level level);
#endif
OpenPOWER on IntegriCloud