From 076677dd53e3f491f66181085c0bfe7234df903a Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 11 Sep 2011 11:08:01 +1000 Subject: [PATCH] Flag any devices with autofan or autogpu as being managed. --- adl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/adl.c b/adl.c index e0d74232..9a73fd23 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)