Commit 076677dd53e3f491f66181085c0bfe7234df903a

Con Kolivas 2011-09-11T11:08:01

Flag any devices with autofan or autogpu as being managed.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/adl.c b/adl.c
index e0d7423..9a73fd2 100644
--- a/adl.c
+++ b/adl.c
@@ -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)