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:43:53 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-07-06 02:09:38 +0400
commit170a47f010182152bed6f44f3878dd0423df2b78 (patch)
treea21b39332085c37c78d3c0593e49d884d25307cf /drivers/gpu/drm/radeon/radeon_asic.c
parent8b5e6b7f0ec81f237d87cf9632309db9481c6fb5 (diff)
downloadlinux-170a47f010182152bed6f44f3878dd0423df2b78.tar.xz
drm/radeon/dpm: implement force performance level for cayman
Allows you to force a 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 221a0b31e649..9c1b7b1c0268 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -1940,6 +1940,7 @@ static struct radeon_asic cayman_asic = {
.get_mclk = &ni_dpm_get_mclk,
.print_power_state = &ni_dpm_print_power_state,
.debugfs_print_current_performance_level = &ni_dpm_debugfs_print_current_performance_level,
+ .force_performance_level = &ni_dpm_force_performance_level,
},
.pflip = {
.pre_page_flip = &evergreen_pre_page_flip,