diff options
author | Martin Peres <martin.peres@labri.fr> | 2013-03-05 10:44:12 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-03-18 11:15:26 +1000 |
commit | 7591782b9f30a5a8bcbba5744c85050ff6743d69 (patch) | |
tree | cb88aed87c850e843391aea2ec63f58388e1398b /drivers/gpu/drm/nouveau/core/subdev/therm/priv.h | |
parent | drm/nv40/therm: increase the sensor's settling delay to 20ms (diff) | |
download | linux-dev-7591782b9f30a5a8bcbba5744c85050ff6743d69.tar.xz linux-dev-7591782b9f30a5a8bcbba5744c85050ff6743d69.zip |
drm/nouveau/therm: do not make assumptions on temperature
In nouveau_therm_sensor_event, temperature is stored as an uint8_t
even though the original interface returns an int.
This change should make it more obvious when the sensor is either
very-ill-calibrated or when we selected the wrong sensor style
on the nv40 family.
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/therm/priv.h')
0 files changed, 0 insertions, 0 deletions