aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-03-20 17:18:29 -0400
committerDave Airlie <airlied@redhat.com>2012-03-21 02:55:55 -0400
commit5d7486c77d44cb26049f599fdfa46bc548ea5537 (patch)
tree865ab91ace015b11d24ddd0bd3efb0e3f0459e44
parent8848f759c0de139bada271aa446f48637c98ca1a (diff)
drm/radeon/kms: no support for internal thermal sensor on TN yet
Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_pm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c
index a6dbefca56dd..caa55d68f319 100644
--- a/drivers/gpu/drm/radeon/radeon_pm.c
+++ b/drivers/gpu/drm/radeon/radeon_pm.c
@@ -518,6 +518,9 @@ static int radeon_hwmon_init(struct radeon_device *rdev)
518 case THERMAL_TYPE_NI: 518 case THERMAL_TYPE_NI:
519 case THERMAL_TYPE_SUMO: 519 case THERMAL_TYPE_SUMO:
520 case THERMAL_TYPE_SI: 520 case THERMAL_TYPE_SI:
521 /* No support for TN yet */
522 if (rdev->family == CHIP_ARUBA)
523 return err;
521 rdev->pm.int_hwmon_dev = hwmon_device_register(rdev->dev); 524 rdev->pm.int_hwmon_dev = hwmon_device_register(rdev->dev);
522 if (IS_ERR(rdev->pm.int_hwmon_dev)) { 525 if (IS_ERR(rdev->pm.int_hwmon_dev)) {
523 err = PTR_ERR(rdev->pm.int_hwmon_dev); 526 err = PTR_ERR(rdev->pm.int_hwmon_dev);