projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ce427
)
drm/nouveau/temp: Add default calibration values for nv67
author
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 22 Jun 2011 01:54:39 +0000
(
02:54
+0100)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 23 Jun 2011 06:04:48 +0000
(16:04 +1000)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_temp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_temp.c
b/drivers/gpu/drm/nouveau/nouveau_temp.c
index 47630fb669d0accf4986c88f30a4f4ec01c3c103..081ca7b03e8aa53bbb692173f910862a55bc5950 100644
(file)
--- 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)
sensor->slope_mult = 431;
sensor->slope_div = 10000;
break;
+
+ case 0x67:
+ sensor->offset_mult = -26149;
+ sensor->offset_div = 100;
+ sensor->slope_mult = 484;
+ sensor->slope_div = 10000;
+ break;
}
}