summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_asic.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-02 18:46:28 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-07-05 18:09:48 -0400
commita160a6a3367611351624fca06838000b02aae2c7 (patch)
treeae2df22ceda0bdb3957f3e692d677ab1e578acc8 /drivers/gpu/drm/radeon/radeon_asic.c
parent170a47f010182152bed6f44f3878dd0423df2b78 (diff)
downloadlinux-a160a6a3367611351624fca06838000b02aae2c7.tar.gz
drm/radeon/dpm: implement force performance level for SI
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 9c1b7b1c0268..6ec4831fdb58 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -2287,6 +2287,7 @@ static struct radeon_asic si_asic = {
.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,
+ .force_performance_level = &si_dpm_force_performance_level,
},
.pflip = {
.pre_page_flip = &evergreen_pre_page_flip,