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 | eea4eb14a0f74f806e7a458f174f880744a68bdd (diff) | |
download | op-kernel-dev-7591782b9f30a5a8bcbba5744c85050ff6743d69.zip op-kernel-dev-7591782b9f30a5a8bcbba5744c85050ff6743d69.tar.gz |
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