diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2011-06-21 21:54:39 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 02:04:48 -0400 |
commit | 6d13e9c18843092f3df418b42183f704f6dac053 (patch) | |
tree | 7764c9db1508a2d12b3b1977bacf4fb68f83178d /drivers/gpu/drm/nouveau/nouveau_temp.c | |
parent | 40ce4279e17e99bb98d02b8746fcf20abff8185b (diff) |
drm/nouveau/temp: Add default calibration values for nv67
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_temp.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_temp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_temp.c b/drivers/gpu/drm/nouveau/nouveau_temp.c index 47630fb669d0..081ca7b03e8a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_temp.c +++ b/drivers/gpu/drm/nouveau/nouveau_temp.c | |||
@@ -99,6 +99,13 @@ nouveau_temp_vbios_parse(struct drm_device *dev, u8 *temp) | |||
99 | sensor->slope_mult = 431; | 99 | sensor->slope_mult = 431; |
100 | sensor->slope_div = 10000; | 100 | sensor->slope_div = 10000; |
101 | break; | 101 | break; |
102 | |||
103 | case 0x67: | ||
104 | sensor->offset_mult = -26149; | ||
105 | sensor->offset_div = 100; | ||
106 | sensor->slope_mult = 484; | ||
107 | sensor->slope_div = 10000; | ||
108 | break; | ||
102 | } | 109 | } |
103 | } | 110 | } |
104 | 111 | ||