summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_temp.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-09-23 16:27:14 +0200
committerBen Skeggs <bskeggs@redhat.com>2010-09-24 16:29:14 +1000
commitd34ec507d40faab908968985b3106869d8d8fbcf (patch)
treea09413032bd8aa14ad2ccf043653ff0f4c4190c9 /drivers/gpu/drm/nouveau/nouveau_temp.c
parent4164743c8249ef2867cf71ae2cb2380b5a550b06 (diff)
downloadlinux-d34ec507d40faab908968985b3106869d8d8fbcf.tar.gz
linux-d34ec507d40faab908968985b3106869d8d8fbcf.tar.bz2
linux-d34ec507d40faab908968985b3106869d8d8fbcf.zip
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 3e0f19e1c72f..54e3d9222f79 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)
case 0x44:
case 0x47:
+ case 0x4a:
sensor->offset_mult = 27839;
sensor->offset_div = 1000;
sensor->slope_mult = 780;