diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-09-14 21:14:14 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-11-20 13:00:09 -0500 |
commit | 39471ad39de827657e6ab69da96496eb0943295e (patch) | |
tree | d3b65da5462d797edb86d2c785796bf355e2cf3b /drivers/gpu/drm/radeon/si_dpm.h | |
parent | 4bb62c95a7e781a238b2ab374f34b1bf91e01ddc (diff) |
drm/radeon/dpm: add smc fan control for SI (v2)
Enable smc fan control for SI boards. Should
reduce the fan noise on systems with a higher
default fan profile.
v2: disable by default, add rpm controls
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/si_dpm.h')
-rw-r--r-- | drivers/gpu/drm/radeon/si_dpm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/si_dpm.h b/drivers/gpu/drm/radeon/si_dpm.h index 8b5c06a0832d..d16bb1b5f10f 100644 --- a/drivers/gpu/drm/radeon/si_dpm.h +++ b/drivers/gpu/drm/radeon/si_dpm.h | |||
@@ -182,6 +182,7 @@ struct si_power_info { | |||
182 | u32 dte_table_start; | 182 | u32 dte_table_start; |
183 | u32 spll_table_start; | 183 | u32 spll_table_start; |
184 | u32 papm_cfg_table_start; | 184 | u32 papm_cfg_table_start; |
185 | u32 fan_table_start; | ||
185 | /* CAC stuff */ | 186 | /* CAC stuff */ |
186 | const struct si_cac_config_reg *cac_weights; | 187 | const struct si_cac_config_reg *cac_weights; |
187 | const struct si_cac_config_reg *lcac_config; | 188 | const struct si_cac_config_reg *lcac_config; |
@@ -197,6 +198,10 @@ struct si_power_info { | |||
197 | /* SVI2 */ | 198 | /* SVI2 */ |
198 | u8 svd_gpio_id; | 199 | u8 svd_gpio_id; |
199 | u8 svc_gpio_id; | 200 | u8 svc_gpio_id; |
201 | /* fan control */ | ||
202 | bool fan_ctrl_is_in_default_mode; | ||
203 | u32 t_min; | ||
204 | u32 fan_ctrl_default_mode; | ||
200 | }; | 205 | }; |
201 | 206 | ||
202 | #define SISLANDS_INITIAL_STATE_ARB_INDEX 0 | 207 | #define SISLANDS_INITIAL_STATE_ARB_INDEX 0 |