diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-03-21 01:18:29 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-21 10:55:55 +0400 |
commit | 5d7486c77d44cb26049f599fdfa46bc548ea5537 (patch) | |
tree | 865ab91ace015b11d24ddd0bd3efb0e3f0459e44 /drivers | |
parent | 8848f759c0de139bada271aa446f48637c98ca1a (diff) | |
download | linux-5d7486c77d44cb26049f599fdfa46bc548ea5537.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_pm.c | 3 |
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) case THERMAL_TYPE_NI: case THERMAL_TYPE_SUMO: case THERMAL_TYPE_SI: + /* No support for TN yet */ + if (rdev->family == CHIP_ARUBA) + return err; rdev->pm.int_hwmon_dev = hwmon_device_register(rdev->dev); if (IS_ERR(rdev->pm.int_hwmon_dev)) { err = PTR_ERR(rdev->pm.int_hwmon_dev); |