]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/pm: do not stop reclocking if failing to set the fan speed
authorMartin Peres <martin.peres@labri.fr>
Wed, 3 Oct 2012 23:00:13 +0000 (01:00 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 16 Oct 2012 06:29:02 +0000 (16:29 +1000)
commit377d2208b0c92855ff5388d8a9a6c219f9ec750d
tree716843bafd786afe64e589e5bc16c693a01eafca
parenteee6135238717ca865c47dcc3a3476086ff14ac1
drm/nouveau/pm: do not stop reclocking if failing to set the fan speed

With the introduction of fan management modes, fan may not be drivable.
We should allow reclocking nonetheless.

This return was stupid to begin with since it may have left the card
in an intermediate state (clocks corresponding to a perflvl and voltage
corresponding to another one). The reclocking code will need to be
rewritten in a near-future in order to provide a better error handling.

Reported-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_pm.c