]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/therm/fan/tach: default to 2 pulses per revolution
authorMartin Peres <martin.peres@labri.fr>
Mon, 12 May 2014 21:19:07 +0000 (23:19 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 10 Jun 2014 06:05:50 +0000 (16:05 +1000)
commit1b9c1f0a462a91997a3cfbf8595a9f900ee3951a
tree07f5f3779e7728ccd9dce2fb571eef6e4379c144
parent3afd3badfb65a7f8b2e3357cf3f8782bb0b22363
drm/nouveau/therm/fan/tach: default to 2 pulses per revolution

I spent some time this weekend trying to find in the vbios the number of
pulses per revolutions in the vbios but couldn't find it. It would seem
all my cards have 2 pulses per revolution so let's stick to that until
further notice.

Thermal table's id 0x48 may indicate this information but it would seem
that changing the value results in the blob power or clock gating the
RPM counter... We should ask NVIDIA about that, should be trivial-enough
for them to answer.

Signed-off-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/therm/nva3.c