aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_temp.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-09-23 10:27:14 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-09-24 02:29:14 -0400
commitd34ec507d40faab908968985b3106869d8d8fbcf (patch)
treea09413032bd8aa14ad2ccf043653ff0f4c4190c9 /drivers/gpu/drm/nouveau/nouveau_temp.c
parent4164743c8249ef2867cf71ae2cb2380b5a550b06 (diff)
drm/nouveau: Add sane sensor correction defaults for nv4a.
Signed-off-by: Francisco Jerez <currojerez@riseup.net> 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_temp.c b/drivers/gpu/drm/nouveau/nouveau_temp.c
index 3e0f19e1c72..54e3d9222f7 100644
--- a/drivers/gpu/drm/nouveau/nouveau_temp.c
+++ b/drivers/gpu/drm/nouveau/nouveau_temp.c
@@ -65,6 +65,7 @@ nouveau_temp_vbios_parse(struct drm_device *dev, u8 *temp)
65 65
66 case 0x44: 66 case 0x44:
67 case 0x47: 67 case 0x47:
68 case 0x4a:
68 sensor->offset_mult = 27839; 69 sensor->offset_mult = 27839;
69 sensor->offset_div = 1000; 70 sensor->offset_div = 1000;
70 sensor->slope_mult = 780; 71 sensor->slope_mult = 780;