]> 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)
commitea93e2de8586fdce61a3f23aaa96fb42c0f55b00
tree4f72a66b5c44493c39483be1592ad11ce338bafc
parent7bd289dd98339972e687f0cc44ec911806c0c512
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