summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-15 17:34:33 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 16:30:30 -0400
commit94b4adc5ae30fb451300bdca901ae9771f6baf5f (patch)
treedca7f6055716a837cace69cb824e416c74ec1c93 /drivers/gpu/drm/radeon/radeon_asic.h
parentcc8dbbb4f62aa53e604e7c61dedc03ee4e8dfed4 (diff)
downloadop-kernel-dev-94b4adc5ae30fb451300bdca901ae9771f6baf5f.zip
op-kernel-dev-94b4adc5ae30fb451300bdca901ae9771f6baf5f.tar.gz
drm/radeon/dpm: add debugfs support for CI
This allows you to look at the current DPM state via debugfs. 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 350da17..371a6f2 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -763,6 +763,8 @@ u32 ci_dpm_get_sclk(struct radeon_device *rdev, bool low);
u32 ci_dpm_get_mclk(struct radeon_device *rdev, bool low);
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 kv_dpm_init(struct radeon_device *rdev);
int kv_dpm_enable(struct radeon_device *rdev);
OpenPOWER on IntegriCloud