summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-06-28 14:20:53 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-07-01 16:08:24 -0400
commit242916a5ee55a0ed49a2c74ee4d835fe9d8ca463 (patch)
treed10974d8f8b7b979d0cf912ab06d3f46f0fb36e2 /drivers/gpu/drm/radeon/radeon_asic.h
parent1316b79256062f7a2e66f0833dcb9728ec748805 (diff)
downloadop-kernel-dev-242916a5ee55a0ed49a2c74ee4d835fe9d8ca463.zip
op-kernel-dev-242916a5ee55a0ed49a2c74ee4d835fe9d8ca463.tar.gz
drm/radeon/dpm: add debugfs support for rv6xx
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 2497d0a..6b1ede1 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -416,6 +416,8 @@ u32 rv6xx_dpm_get_sclk(struct radeon_device *rdev, bool low);
u32 rv6xx_dpm_get_mclk(struct radeon_device *rdev, bool low);
void rv6xx_dpm_print_power_state(struct radeon_device *rdev,
struct radeon_ps *ps);
+void rv6xx_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev,
+ struct seq_file *m);
/* rs780 dpm */
int rs780_dpm_init(struct radeon_device *rdev);
int rs780_dpm_enable(struct radeon_device *rdev);
OpenPOWER on IntegriCloud