1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-13 06:01:03 +00:00

Flag any devices with autofan or autogpu as being managed.

This commit is contained in:
Con Kolivas 2011-09-11 11:08:01 +10:00
parent a602f4e55f
commit 076677dd53

5
adl.c
View File

@ -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)