summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-06-28 16:06:26 +0200
committerAlex Deucher <alexander.deucher@amd.com>2013-07-01 22:08:32 +0200
commitbd210d11cd37bee3da729e56288b5b4a038f88bd (patch)
tree06209ecc536ee057b14f30b76e9414f6ce50ba14 /drivers/gpu/drm/radeon/radeon_asic.h
parentdrm/radeon/dpm: add debugfs support for rv6xx (diff)
downloadlinux-bd210d11cd37bee3da729e56288b5b4a038f88bd.tar.xz
linux-bd210d11cd37bee3da729e56288b5b4a038f88bd.zip
drm/radeon/dpm: add debugfs support for 7xx/evergreen/btc
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 6b1ede11ed20..39f5d96d7c49 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -476,6 +476,8 @@ u32 rv770_dpm_get_sclk(struct radeon_device *rdev, bool low);
u32 rv770_dpm_get_mclk(struct radeon_device *rdev, bool low);
void rv770_dpm_print_power_state(struct radeon_device *rdev,
struct radeon_ps *ps);
+void rv770_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev,
+ struct seq_file *m);
/*
* evergreen