diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-01-07 23:29:06 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 18:38:48 +0300 |
commit | 5e8150a6876a2a7784b0029506c90ab3d26c9a41 (patch) | |
tree | 03b9c24649575743747ef0502dedfef7e05ff92f /drivers/gpu/drm/radeon/si_dpm.h | |
parent | 36689e57502bd4de86abe5e55fff60b974416a52 (diff) | |
download | linux-5e8150a6876a2a7784b0029506c90ab3d26c9a41.tar.xz |
drm/radeon: bind fan control on SI cards to hwmon interface
This adds a possibility to control fan on SI parts
via exported hwmon variables. Note that automatic
ucode fan management pauses if you choose to enable
manual fan control. Use with caution!
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/si_dpm.h b/drivers/gpu/drm/radeon/si_dpm.h index d16bb1b5f10f..1032a68be792 100644 --- a/drivers/gpu/drm/radeon/si_dpm.h +++ b/drivers/gpu/drm/radeon/si_dpm.h @@ -202,6 +202,7 @@ struct si_power_info { bool fan_ctrl_is_in_default_mode; u32 t_min; u32 fan_ctrl_default_mode; + bool fan_is_controlled_by_smc; }; #define SISLANDS_INITIAL_STATE_ARB_INDEX 0 |