summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-06-28 18:02:19 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-07-01 16:09:06 -0400
commit7982128c3d447df27db963af67bc6b8dc7efb1de (patch)
tree8f671df217823306b7e469e4df7aff09d3f7a943 /drivers/gpu/drm/radeon/radeon_asic.h
parentbdf0c4f07d5fbda79569a11116053bed44873c8a (diff)
downloadblackbird-op-linux-7982128c3d447df27db963af67bc6b8dc7efb1de.tar.gz
blackbird-op-linux-7982128c3d447df27db963af67bc6b8dc7efb1de.zip
drm/radeon/dpm: add debugfs support for SI
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 7524edb26152..6822c7aeacaa 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -677,6 +677,8 @@ int si_dpm_set_power_state(struct radeon_device *rdev);
void si_dpm_post_set_power_state(struct radeon_device *rdev);
void si_dpm_fini(struct radeon_device *rdev);
void si_dpm_display_configuration_changed(struct radeon_device *rdev);
+void si_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev,
+ struct seq_file *m);
/* DCE8 - CIK */
void dce8_bandwidth_update(struct radeon_device *rdev);
OpenPOWER on IntegriCloud