diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-06-14 21:15:53 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-06-16 08:27:20 +0200 |
commit | 1c88d74f3a0b748b0c7e88e91e9d0503815d5689 (patch) | |
tree | 0fa574ef188ea342a4f7bffcac2babfbcc349a8c /drivers/gpu | |
parent | drm: populate irq_by_busid-member for pci (diff) | |
download | linux-1c88d74f3a0b748b0c7e88e91e9d0503815d5689.tar.xz linux-1c88d74f3a0b748b0c7e88e91e9d0503815d5689.zip |
drm/radeon/kms: signed fix for evergreen thermal
temperature is signed.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 86157b172c88..7e3d96e7ac04 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -88,7 +88,8 @@ u32 evergreen_page_flip(struct radeon_device *rdev, int crtc_id, u64 crtc_base) /* get temperature in millidegrees */ int evergreen_get_temp(struct radeon_device *rdev) { - u32 temp, toffset, actual_temp = 0; + u32 temp, toffset; + int actual_temp = 0; if (rdev->family == CHIP_JUNIPER) { toffset = (RREG32(CG_THERMAL_CTRL) & TOFFSET_MASK) >> |