summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_pm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-05-25 23:49:54 +0200
committerDave Airlie <airlied@redhat.com>2011-05-26 01:19:34 +0200
commit457558eda1545c22163574f6dbb883394705e9dd (patch)
tree56e2d48afe876827bb06e50f693cf1b794f4e6f2 /drivers/gpu/drm/radeon/radeon_pm.c
parentdrm/radeon/kms: add blit support for cayman (v2) (diff)
downloadlinux-457558eda1545c22163574f6dbb883394705e9dd.tar.xz
linux-457558eda1545c22163574f6dbb883394705e9dd.zip
drm/radeon/kms: add missing case for cayman thermal sensor
The rest of the code is already in place. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_pm.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c
index 86eda1ea94df..aaa19dc418a0 100644
--- a/drivers/gpu/drm/radeon/radeon_pm.c
+++ b/drivers/gpu/drm/radeon/radeon_pm.c
@@ -487,6 +487,7 @@ static int radeon_hwmon_init(struct radeon_device *rdev)
case THERMAL_TYPE_RV6XX:
case THERMAL_TYPE_RV770:
case THERMAL_TYPE_EVERGREEN:
+ case THERMAL_TYPE_NI:
case THERMAL_TYPE_SUMO:
rdev->pm.int_hwmon_dev = hwmon_device_register(rdev->dev);
if (IS_ERR(rdev->pm.int_hwmon_dev)) {