projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e97ab
)
drm/radeon/kms: signed fix for evergreen thermal
author
Alex Deucher
<alexdeucher@gmail.com>
Tue, 14 Jun 2011 19:15:53 +0000
(19:15 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 16 Jun 2011 06:27:20 +0000
(16:27 +1000)
temperature is signed.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/evergreen.c
b/drivers/gpu/drm/radeon/evergreen.c
index 86157b172c8844dc39e7ba8e4804723c4b98779a..7e3d96e7ac042814527db77a3bd305d5a3214de4 100644
(file)
--- 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) >>