adl.c


Log

Author Commit Date CI Message
Luke Dashjr 845961af 2012-01-05T19:26:01 Refactor to abstract device-specific code
Con Kolivas 400cb21d 2011-12-24T08:06:53 Off by one error in performance level.
Con Kolivas f4d657ee 2011-12-24T07:35:42 Only adjust gpu engine speed in autotune mode if the gpu is currently at the performance level of that being adjusted.
Con Kolivas 8c63061e 2011-10-23T20:50:52 Allow a fixed speed difference between memory and GPU clock speed that will change memory speed when GPU speed is changed in autotune mode.
Con Kolivas 5976f6b3 2011-10-14T21:51:55 Get rid of unused variable.
Con Kolivas 0ae3f718 2011-09-23T10:45:43 Check last temperature we reached and don't change fan speed if it's already correcting.
Con Kolivas b8ea0dd1 2011-09-17T13:23:58 Update curses logging to allow LOG_WARNING and LOG_ERR messages to still go through while within the menu, and drop share message to LOG_NOTICE.
Con Kolivas 5a24c282 2011-09-16T16:46:14 Try to set temperature regardless of whether get fanspeed fails. This may need to be reverted if it causes problems.
Con Kolivas 12e99c83 2011-09-16T16:42:11 Initialise all the iSizes of the ADL structures for completeness.
Con Kolivas 07c21bcb 2011-09-16T10:40:58 Don't forget to set the actual fanspeed too!
Con Kolivas 3c38adc9 2011-09-16T10:27:36 Only set the speed once, but set it only if fanspeed get says the card is ok and ready.
Con Kolivas 67fe6ab7 2011-09-16T10:26:25 Don't both with adapter speed set as it has no effect on mining speed.
Con Kolivas 92e1ffd3 2011-09-16T08:31:27 Store the targetfan even if the later getfanspeed fails in case it's temporary.
Con Kolivas 8feb661d 2011-09-15T20:46:39 Set the fanspeed in coarse rounded up values and then ever finer grained values in case the card does not support fine values.
Con Kolivas 3f10e80a 2011-09-15T12:18:30 If the user defined flag is not set on fanspeed, set the fanspeed with it first.
Con Kolivas 87ec3f47 2011-09-15T11:21:54 Convert fanspeed management to default on exit.
Con Kolivas 918ec7b0 2011-09-14T23:01:07 Enable adl earlier to allow values to be set in init_adl or they're silently ignored!
Con Kolivas 1db6ab0b 2011-09-14T22:18:49 Set targetfan when fanspeed is set on parameters.
Con Kolivas 2e09eee7 2011-09-14T21:45:04 Use the gpu_fan set value as the starting fan speed. Don't try and change the value if get() doesn't match as it's unreliable, just save the reentrant value. Limit fanspeeds to reported iMax and iMin.
Con Kolivas 88eb514c 2011-09-11T11:57:08 Only display supported values from fanspeed on change settings.
Con Kolivas b4009ada 2011-09-11T11:47:22 Remove redundant check.
Con Kolivas ebae03f2 2011-09-11T11:38:02 Do not bother resetting values to old ones if changes to GPU parameters report failure, instead returning a failure code only if the return value from get() differs.
Con Kolivas dff1a81d 2011-09-11T11:25:28 Use a re-entrant value to store what fanspeed we're trying to set in case the card doesn't support small changes. Force it to a multiple of 10% if it fails on trying to speed up the fan.
Con Kolivas 076677dd 2011-09-11T11:08:01 Flag any devices with autofan or autogpu as being managed.
Con Kolivas a602f4e5 2011-09-11T11:06:52 Only force the adapter speed to high if we've flagged this device as being managed.
Con Kolivas 25c77ae8 2011-09-09T11:53:45 Only display values in the log if they're supported and standardise device log line printing.
Con Kolivas 2fafdab9 2011-09-09T10:03:10 Allow adapterid 0 cards to enumerate as a device as they will be non-AMD cards, and enable ADL on any AMD card.
Con Kolivas b7d81781 2011-09-08T14:10:55 Setting the hysteresis is unlikely to be useful on the fly and doesn't belong in the per-gpu submenu.
Con Kolivas 0e1c2916 2011-09-08T14:05:41 Display fan range in autofan status.
Con Kolivas e0a9f1aa 2011-09-08T13:53:10 Allow temperature targets to be set on a per-card basis on the command line.
Con Kolivas d6f3bd05 2011-09-08T13:33:24 Display which GPU has overheated in warning message.
Con Kolivas b50041c8 2011-09-08T13:29:13 Allow per-device fan ranges to be set and use them in auto-fan mode.
Con Kolivas 9b5cd618 2011-09-08T13:04:39 Implement accepting a range of engine speeds as well to allow a lower limit to be specified on the command line.
Con Kolivas 7ea7f5f3 2011-09-08T10:51:32 Allow temperatures greater than 100 degrees.
Con Kolivas 4628db5b 2011-09-07T10:44:57 Change the fan speed by only 5% if it's over the target temperature but less than the hysteresis value to minimise overshoot down in temperature.
Con Kolivas 3997f308 2011-09-07T10:43:26 Add a thermal cutoff option as well and set it to 95 degrees by default.
Con Kolivas 311420db 2011-09-07T10:03:06 Flag adl as active if any card is successfully activated.
Con Kolivas 058303bc 2011-09-07T10:00:10 Only reset values on exiting if we've ever modified them.
Con Kolivas b8be1e6c 2011-09-07T09:17:51 Ignore whether the display is active or not since only display enabled devices work this way, and we skip over repeat entries anwyay.
Con Kolivas f89c032d 2011-09-06T12:04:23 The ° character is not reliably shown on all platforms so remove it.
Con Kolivas fd23532b 2011-09-06T09:41:58 Make adl attempt to compile only on win32 or linux since there is no support for it on onther platforms, and fix sleep() definition on win32.
Con Kolivas 16aff37c 2011-09-06T09:36:42 Fix compilation errors on mingw32 to do with order of pulling in headers, curses.h and definition of bool.
Con Kolivas 5fc56a45 2011-09-05T09:36:43 Force the speed to high on startup and restore it to whatever the setting was on exit.
Con Kolivas cb29fb7d 2011-09-05T09:04:15 Remove the safety checks in speed setting since confirmation is done first in the menu, then show the new current values after a short pause.
Con Kolivas ee06a3ba 2011-09-05T08:33:00 Limit fanspeed to 85% properly when temperature is below overheat levels.
Con Kolivas 40491cd5 2011-09-05T08:32:31 Change default hysteresis to 3 degrees for lower average fanspeeds.
Con Kolivas 47f1a759 2011-09-04T23:23:31 Implement setting the GPU powertune value of all devices or each device as a comma separated value.
Con Kolivas 9f618f4a 2011-09-05T17:14:09 Lower profile settings cannot be higher than higher profile ones so link any drops in settings.
Con Kolivas ca379355 2011-09-05T16:14:43 Ramp up the fan more if we're over target temperature.
Con Kolivas bc972440 2011-09-05T16:05:04 Provide locking around all adl calls to prevent races.
Con Kolivas 666d724b 2011-09-05T13:48:06 Set a safe starting fan speed if we're automanaging the speeds.
Con Kolivas 656bacc5 2011-09-04T23:14:36 Get the value of powertune in get_stats.
Con Kolivas 7711c6fb 2011-09-04T23:10:57 Implement changing of powertune value from the GPU change settings menu.
Con Kolivas bd292258 2011-09-04T22:56:19 Add support for monitoring powertune setting.
Con Kolivas 3a5663ca 2011-09-04T22:25:31 Implement setting the GPU fan speed of all devices or each device as a comma separated value.
Con Kolivas 8ae273c5 2011-09-04T22:08:42 Implement setting the GPU voltage of all devices or each device as a comma separated value.
Con Kolivas 54bc30ce 2011-09-04T22:01:58 Implement setting the GPU memory clock speed of all devices or each device as a comma separated value.
Con Kolivas ec8808d0 2011-09-04T21:55:06 Implement setting the GPU engine clock speed of all devices or each device as a comma separated value.
Con Kolivas 12a167a3 2011-09-04T13:57:40 Implement menus to change temperature limits.
Con Kolivas 1ed21937 2011-09-04T10:19:29 Combine all stats collating into one function to avoid repeating function calls on each variable.
Con Kolivas e9f886d8 2011-09-04T09:43:53 Allow target, overheat and hysteresis temperatures to be set from command line.
Con Kolivas 847adf68 2011-09-04T07:17:07 Add a small amount of hysteresis before lowering clock speed.
Con Kolivas 9b7262ec 2011-09-04T00:36:14 Clean up by setting performance profiles and fan settings to startup levels on exit.
Con Kolivas e9b5885e 2011-09-03T22:30:11 Add a gpu autotune option which adjusts GPU speed to maintain a target temperature within the bounds of the default GPU speed and any overclocking set.
Con Kolivas dcc97e45 2011-09-03T15:46:57 Add an --auto-fan command line option to allow all GPUs to have autofan enabled from startup.
Con Kolivas 495adcbf 2011-09-03T15:33:53 Implement auto fanspeed adjustment to maintain a target temperature and fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
Con Kolivas 320a5f2a 2011-09-03T14:52:25 Make sure to read off the value in RPM only.
Con Kolivas bf2669b8 2011-09-03T14:45:37 Minor corrections to set fan speed by percentage.
Con Kolivas 07b847f7 2011-09-03T14:33:05 Implement fan speed setting.
Con Kolivas 3681ae84 2011-09-03T13:28:49 Implement changing memory speed and voltage on the fly.
Con Kolivas 35ace463 2011-09-03T13:02:21 Enable changing of engine clock setting on the fly.
Con Kolivas d57cd919 2011-09-03T10:53:35 Implement ATI ADL support for GPU parameter monitoring now and setting later (temp, fan, clocks etc.). Check for the presence of the ADL header files in ADL_SDK. Import adl_functions.h from amd overdrive ctrl. Implement a setup function that tries to detect GPUs that support the ADL and link in the parameters into the gpus struct. Put a summary of monitoring information from the GPU menu.