diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-06-14 19:15:53 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-06-16 16:27:20 +1000 |
commit | 1c88d74f3a0b748b0c7e88e91e9d0503815d5689 (patch) | |
tree | 0fa574ef188ea342a4f7bffcac2babfbcc349a8c /drivers/gpu/drm/radeon/evergreen.c | |
parent | 45e97ab65026a3391cb2c938f834ca5db4d2e5b3 (diff) | |
download | blackbird-op-linux-1c88d74f3a0b748b0c7e88e91e9d0503815d5689.tar.gz blackbird-op-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/drm/radeon/evergreen.c')
-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) >> |