aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-18 16:39:53 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 16:30:32 -0400
commitae3e40e8712414321ef2b61e8bb26a5d9701643b (patch)
tree1d9452470a10c08b758b144bf27833958b920408 /drivers/gpu/drm/radeon/radeon_asic.h
parentdrm/radeon/dpm: implement vblank_too_short callback for CI (diff)
downloadlinux-dev-ae3e40e8712414321ef2b61e8bb26a5d9701643b.tar.xz
linux-dev-ae3e40e8712414321ef2b61e8bb26a5d9701643b.zip
drm/radeon/dpm: add debugfs support for KB/KV
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 b5f4e431c493..80ad5d89e4bb 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -782,5 +782,7 @@ u32 kv_dpm_get_sclk(struct radeon_device *rdev, bool low);
u32 kv_dpm_get_mclk(struct radeon_device *rdev, bool low);
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);
#endif