diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-03-20 21:18:29 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-21 06:55:55 (GMT) |
commit | 5d7486c77d44cb26049f599fdfa46bc548ea5537 (patch) | |
tree | 865ab91ace015b11d24ddd0bd3efb0e3f0459e44 | |
parent | 8848f759c0de139bada271aa446f48637c98ca1a (diff) | |
download | linux-fsl-qoriq-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>
-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 a6dbefc..caa55d6 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); |