summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_asic.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-19 00:39:53 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-31 00:30:32 +0400
commitae3e40e8712414321ef2b61e8bb26a5d9701643b (patch)
tree1d9452470a10c08b758b144bf27833958b920408 /drivers/gpu/drm/radeon/radeon_asic.c
parent5496131e458e6bbee7f7bdf6f116d150c6dcf728 (diff)
downloadlinux-ae3e40e8712414321ef2b61e8bb26a5d9701643b.tar.xz
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.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.c1
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 2d7bdda90bba..b25172bc1ef2 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -2640,6 +2640,7 @@ static struct radeon_asic kv_asic = {
.get_sclk = &kv_dpm_get_sclk,
.get_mclk = &kv_dpm_get_mclk,
.print_power_state = &kv_dpm_print_power_state,
+ .debugfs_print_current_performance_level = &kv_dpm_debugfs_print_current_performance_level,
},
.pflip = {
.pre_page_flip = &evergreen_pre_page_flip,