diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-01-07 15:29:06 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 10:38:48 -0500 |
commit | 5e8150a6876a2a7784b0029506c90ab3d26c9a41 (patch) | |
tree | 03b9c24649575743747ef0502dedfef7e05ff92f /drivers/gpu/drm/radeon/radeon_asic.c | |
parent | 36689e57502bd4de86abe5e55fff60b974416a52 (diff) |
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/radeon_asic.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index c5ec52388144..7c6e1930fa38 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c | |||
@@ -1953,6 +1953,10 @@ static struct radeon_asic si_asic = { | |||
1953 | .debugfs_print_current_performance_level = &si_dpm_debugfs_print_current_performance_level, | 1953 | .debugfs_print_current_performance_level = &si_dpm_debugfs_print_current_performance_level, |
1954 | .force_performance_level = &si_dpm_force_performance_level, | 1954 | .force_performance_level = &si_dpm_force_performance_level, |
1955 | .vblank_too_short = &ni_dpm_vblank_too_short, | 1955 | .vblank_too_short = &ni_dpm_vblank_too_short, |
1956 | .fan_ctrl_set_mode = &si_fan_ctrl_set_mode, | ||
1957 | .fan_ctrl_get_mode = &si_fan_ctrl_get_mode, | ||
1958 | .get_fan_speed_percent = &si_fan_ctrl_get_fan_speed_percent, | ||
1959 | .set_fan_speed_percent = &si_fan_ctrl_set_fan_speed_percent, | ||
1956 | }, | 1960 | }, |
1957 | .pflip = { | 1961 | .pflip = { |
1958 | .page_flip = &evergreen_page_flip, | 1962 | .page_flip = &evergreen_page_flip, |