diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-06-28 18:02:19 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-01 16:09:06 -0400 |
commit | 7982128c3d447df27db963af67bc6b8dc7efb1de (patch) | |
tree | 8f671df217823306b7e469e4df7aff09d3f7a943 /drivers/gpu/drm/radeon/radeon_asic.c | |
parent | bdf0c4f07d5fbda79569a11116053bed44873c8a (diff) | |
download | blackbird-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.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index 5b3a122912f7..a5b244dc50ca 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c @@ -2282,6 +2282,7 @@ static struct radeon_asic si_asic = { .get_sclk = &ni_dpm_get_sclk, .get_mclk = &ni_dpm_get_mclk, .print_power_state = &ni_dpm_print_power_state, + .debugfs_print_current_performance_level = &si_dpm_debugfs_print_current_performance_level, }, .pflip = { .pre_page_flip = &evergreen_pre_page_flip, |