summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
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.h
parent170a47f010182152bed6f44f3878dd0423df2b78 (diff)
downloadop-kernel-dev-a160a6a3367611351624fca06838000b02aae2c7.zip
op-kernel-dev-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.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h
index 2bacc77..7efa51a 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -683,6 +683,8 @@ void si_dpm_fini(struct radeon_device *rdev);
void si_dpm_display_configuration_changed(struct radeon_device *rdev);
void si_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev,
struct seq_file *m);
+int si_dpm_force_performance_level(struct radeon_device *rdev,
+ enum radeon_dpm_forced_level level);
/* DCE8 - CIK */
void dce8_bandwidth_update(struct radeon_device *rdev);
OpenPOWER on IntegriCloud