mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
Don't try to explicitly drift to exactly the target temperature, aim for just below it.
This commit is contained in:
parent
312724cea1
commit
c009c6cd74
2
adl.c
2
adl.c
@ -872,7 +872,7 @@ static void fan_autotune(int gpu, int temp, int fanpercent, bool *fan_optimal)
|
|||||||
} else {
|
} else {
|
||||||
/* We're in the optimal range, make minor adjustments if the
|
/* We're in the optimal range, make minor adjustments if the
|
||||||
* temp is still drifting */
|
* temp is still drifting */
|
||||||
if (fanpercent > bot && temp < ga->lasttemp && temp < ga->targettemp) {
|
if (fanpercent > bot && temp < ga->lasttemp && ga->lasttemp < ga->targettemp) {
|
||||||
if (opt_debug)
|
if (opt_debug)
|
||||||
applog(LOG_DEBUG, "Temperature dropping while in target range, decreasing fanspeed");
|
applog(LOG_DEBUG, "Temperature dropping while in target range, decreasing fanspeed");
|
||||||
newpercent = ga->targetfan - 1;
|
newpercent = ga->targetfan - 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user