Browse Source

Flag any devices with autofan or autogpu as being managed.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
076677dd53
  1. 5
      adl.c

5
adl.c

@ -325,9 +325,12 @@ void init_adl(int nDevs) @@ -325,9 +325,12 @@ void init_adl(int nDevs)
ga->autofan = true;
/* Set a safe starting default if we're automanaging fan speeds */
set_fanspeed(gpu, 85);
ga->managed = true;
}
if (opt_autoengine)
if (opt_autoengine) {
ga->autoengine = true;
ga->managed = true;
}
if (ga->managed) {
if (ADL_Adapter_Speed_Set(iAdapterIndex, ADL_CONTEXT_SPEED_FORCEHIGH) != ADL_OK)

Loading…
Cancel
Save