Fixed the ATI GPU fan control. The settings now restore correctly to default settings (previously the "manual mode" was kept on some systems).
authormoel.mich
Sat, 14 May 2011 13:26:09 +0000
changeset 2802bc456906ad6
parent 279 6bce967ba1b5
child 281 1c301069cfce
Fixed the ATI GPU fan control. The settings now restore correctly to default settings (previously the "manual mode" was kept on some systems).
Hardware/ATI/ATIGPU.cs
     1.1 --- a/Hardware/ATI/ATIGPU.cs	Sun May 08 22:10:13 2011 +0000
     1.2 +++ b/Hardware/ATI/ATIGPU.cs	Sat May 14 13:26:09 2011 +0000
     1.3 @@ -106,6 +106,9 @@
     1.4        if (restoreDefaultFanSpeedRequired) {        
     1.5          ADL.ADL_Overdrive5_FanSpeed_Set(adapterIndex, 0,
     1.6            ref this.initialFanSpeedValue);
     1.7 +        if ((initialFanSpeedValue.Flags &
     1.8 +          ADL.ADL_DL_FANCTRL_FLAG_USER_DEFINED_SPEED) == 0)
     1.9 +          ADL.ADL_Overdrive5_FanSpeedToDefault_Set(adapterIndex, 0);
    1.10          restoreDefaultFanSpeedRequired = false;
    1.11        }
    1.12      }