summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/ci_dpm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-09-15 00:15:22 -0400
committerAlex Deucher <alexander.deucher@amd.com>2014-11-20 13:00:10 -0500
commite03cea367f992e683435c41344197cd7b223b62c (patch)
treea76ad6f4b5b4b1318f3d9ed851b87350dddb72f2 /drivers/gpu/drm/radeon/ci_dpm.h
parent39471ad39de827657e6ab69da96496eb0943295e (diff)
downloadop-kernel-dev-e03cea367f992e683435c41344197cd7b223b62c.zip
op-kernel-dev-e03cea367f992e683435c41344197cd7b223b62c.tar.gz
drm/radeon/dpm: add smc fan control for CI (v2)
Enable smc fan control for CI boards. Should reduce the fan noise on systems with a higher default fan profile. v2: disable by default, add additional fan setup, rpm control bug: https://bugs.freedesktop.org/show_bug.cgi?id=73338 Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/ci_dpm.h')
-rw-r--r--drivers/gpu/drm/radeon/ci_dpm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ci_dpm.h b/drivers/gpu/drm/radeon/ci_dpm.h
index 615cb2c..bb19fbf 100644
--- a/drivers/gpu/drm/radeon/ci_dpm.h
+++ b/drivers/gpu/drm/radeon/ci_dpm.h
@@ -266,6 +266,7 @@ struct ci_power_info {
bool caps_automatic_dc_transition;
bool caps_sclk_throttle_low_notification;
bool caps_dynamic_ac_timing;
+ bool caps_od_fuzzy_fan_control_support;
/* flags */
bool thermal_protection;
bool pcie_performance_request;
@@ -287,6 +288,10 @@ struct ci_power_info {
struct ci_ps current_ps;
struct radeon_ps requested_rps;
struct ci_ps requested_ps;
+ /* fan control */
+ bool fan_ctrl_is_in_default_mode;
+ u32 t_min;
+ u32 fan_ctrl_default_mode;
};
#define CISLANDS_VOLTAGE_CONTROL_NONE 0x0
OpenPOWER on IntegriCloud