Browse Source

Remove the test for whether the device is on the highest profil level before raising the GPU speed as it is ineffectual and may prevent raising the GPU

speed.
nfactor-troky
Con Kolivas 13 years ago
parent
commit
2b61d973cd
  1. 6
      adl.c

6
adl.c

@ -1066,10 +1066,8 @@ void gpu_autotune(int gpu, bool *enable) @@ -1066,10 +1066,8 @@ void gpu_autotune(int gpu, bool *enable)
if (opt_debug)
applog(LOG_DEBUG, "Temperature %d degrees over target, decreasing clock speed", opt_hysteresis);
newengine = engine - ga->lpOdParameters.sEngineClock.iStep;
/* Only try to tune engine speed up if the current performance level is at max and this GPU is not
* disabled */
} else if ((ga->lpActivity.iCurrentPerformanceLevel == ga->lpOdParameters.iNumberOfPerformanceLevels - 1) &&
(temp < ga->targettemp && engine < ga->maxspeed) && *enable) {
/* Only try to tune engine speed up if this GPU is not disabled */
} else if (temp < ga->targettemp && engine < ga->maxspeed && *enable) {
if (opt_debug)
applog(LOG_DEBUG, "Temperature below target, increasing clock speed");
newengine = engine + ga->lpOdParameters.sEngineClock.iStep;

Loading…
Cancel
Save