Browse Source

Revert "Read off lpThermalControllerInfo from each ADL device."

This reverts commit 2d29cdb611.
nfactor-troky
Con Kolivas 13 years ago
parent
commit
430a19543e
  1. 3
      adl.c
  2. 1
      miner.h

3
adl.c

@ -316,9 +316,6 @@ void init_adl(int nDevs) @@ -316,9 +316,6 @@ void init_adl(int nDevs)
ga->DefPerfLev = NULL;
ga->twin = NULL;
if (ADL_Overdrive5_ThermalDevices_Enum(iAdapterIndex, 0, &ga->lpThermalControllerInfo) != ADL_OK)
applog(LOG_INFO, "Failed to ADL_Overdrive5_ThermalDevices_Enum");
ga->lpOdParameters.iSize = sizeof(ADLODParameters);
if (ADL_Overdrive5_ODParameters_Get(iAdapterIndex, &ga->lpOdParameters) != ADL_OK)
applog(LOG_INFO, "Failed to ADL_Overdrive5_ODParameters_Get");

1
miner.h

@ -206,7 +206,6 @@ struct gpu_adl { @@ -206,7 +206,6 @@ struct gpu_adl {
ADLFanSpeedInfo lpFanSpeedInfo;
ADLFanSpeedValue lpFanSpeedValue;
ADLFanSpeedValue DefFanSpeedValue;
ADLThermalControllerInfo lpThermalControllerInfo;
int iEngineClock;
int iMemoryClock;

Loading…
Cancel
Save