]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nv40/therm: increase the sensor's settling delay to 20ms
authorMartin Peres <martin.peres@labri.fr>
Tue, 5 Mar 2013 09:35:20 +0000 (10:35 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 18 Mar 2013 01:15:26 +0000 (11:15 +1000)
commit355ba3baa06923ac0e279e3356a38f9ec8d37b42
tree4f72a66b5c44493c39483be1592ad11ce338bafc
parentffc401651c2f5f2306d00676bba19c4deb87bd6e
drm/nv40/therm: increase the sensor's settling delay to 20ms

Based on my experience, 10ms wasn't always enough. Let's bump that
to a little more.

If this turns out to be insufficient-enough again, then an approach
based on letting the sensor settle for several seconds before starting
polling on the temperature would be better suited. This way, boot time
wouldn't be impacted by those waits too much.

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