Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221797
b: refs/heads/master
c: b2298fd
h: refs/heads/master
i:
  221795: a46306a
v: v3
  • Loading branch information
Alex Deucher authored and Dave Airlie committed Nov 9, 2010
1 parent b777ea3 commit c0bca89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bdd91b2b571c80dacfca88667d935f9907e62931
refs/heads/master: b2298fd27127f872881048fd37cb9217a648ae06
8 changes: 1 addition & 7 deletions trunk/drivers/gpu/drm/radeon/r600.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,8 @@ u32 rv6xx_get_temp(struct radeon_device *rdev)
{
u32 temp = (RREG32(CG_THERMAL_STATUS) & ASIC_T_MASK) >>
ASIC_T_SHIFT;
u32 actual_temp = 0;

if ((temp >> 7) & 1)
actual_temp = 0;
else
actual_temp = (temp >> 1) & 0xff;

return actual_temp * 1000;
return temp * 1000;
}

void r600_pm_get_dynpm_state(struct radeon_device *rdev)
Expand Down

0 comments on commit c0bca89

Please sign in to comment.