Browse Source

When disabling fanspeed monitoring on adl failure, remove any twin GPU association. This could have been leading to hangs on machines with dual GPU cards when ADL failed.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
057a38eb1c
  1. 5
      adl.c

5
adl.c

@ -695,6 +695,11 @@ int gpu_fanpercent(int gpu) @@ -695,6 +695,11 @@ int gpu_fanpercent(int gpu)
applog(LOG_WARNING, "You will need to start cgminer from scratch to correct this");
applog(LOG_WARNING, "Disabling fanspeed monitoring on this device");
ga->has_fanspeed = false;
if (ga->twin) {
applog(LOG_WARNING, "Disabling fanspeed linking on GPU twins");
ga->twin->twin = NULL;;
ga->twin = NULL;
}
}
return ret;
}

Loading…
Cancel
Save