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:50:09 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-07-06 02:09:56 +0400
commit5d5e559193afd516daae9816e892bf2d97be0988 (patch)
tree84bc1a5fc293068c29700a2e574fa8dde353e836 /drivers/gpu/drm/radeon/radeon_asic.c
parenta160a6a3367611351624fca06838000b02aae2c7 (diff)
downloadlinux-5d5e559193afd516daae9816e892bf2d97be0988.tar.xz
drm/radeon/dpm: implement force performance level for ON/LN
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 6ec4831fdb58..5d592aed1ee9 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -1641,6 +1641,7 @@ static struct radeon_asic sumo_asic = {
.get_mclk = &sumo_dpm_get_mclk,
.print_power_state = &sumo_dpm_print_power_state,
.debugfs_print_current_performance_level = &sumo_dpm_debugfs_print_current_performance_level,
+ .force_performance_level = &sumo_dpm_force_performance_level,
},
.pflip = {
.pre_page_flip = &evergreen_pre_page_flip,