summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_asic.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-03 02:52:10 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-07-06 02:10:06 +0400
commit9b5de59629d2e58eab41e2f0e5cc60b3c395f1c3 (patch)
tree58c2805c7a3e4e0bb1d7480bcd359719ebf5eca5 /drivers/gpu/drm/radeon/radeon_asic.c
parent5d5e559193afd516daae9816e892bf2d97be0988 (diff)
downloadlinux-9b5de59629d2e58eab41e2f0e5cc60b3c395f1c3.tar.xz
drm/radeon/dpm: implement force performance level for TN
Allows you to force the selected performance level via sysfs. 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 5d592aed1ee9..a6906d4ca734 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -2115,6 +2115,7 @@ static struct radeon_asic trinity_asic = {
.get_mclk = &trinity_dpm_get_mclk,
.print_power_state = &trinity_dpm_print_power_state,
.debugfs_print_current_performance_level = &trinity_dpm_debugfs_print_current_performance_level,
+ .force_performance_level = &trinity_dpm_force_performance_level,
},
.pflip = {
.pre_page_flip = &evergreen_pre_page_flip,