summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-09-08 10:51:49 +0400
committerAlex Deucher <alexander.deucher@amd.com>2014-11-12 19:56:33 +0300
commit9b92d1ec62d515c28bb579466e2397ab20c1735a (patch)
tree920fe05431faa37f3b1618cc9b4ac3e84b3f945b /drivers/gpu/drm/radeon/radeon.h
parent507d0ca71bcbefd8623eb20f4de1b5f4e103a48b (diff)
downloadlinux-9b92d1ec62d515c28bb579466e2397ab20c1735a.tar.xz
drm/radeon/dpm: grab fan info from vbios
Required for fan control support. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 73288c6077e5..908f349a6362 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1623,6 +1623,11 @@ struct radeon_pm {
/* internal thermal controller on rv6xx+ */
enum radeon_int_thermal_type int_thermal_type;
struct device *int_hwmon_dev;
+ /* fan control parameters */
+ bool no_fan;
+ u8 fan_pulses_per_revolution;
+ u8 fan_min_rpm;
+ u8 fan_max_rpm;
/* dpm */
bool dpm_enabled;
struct radeon_dpm dpm;