mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
Revert "Read off lpThermalControllerInfo from each ADL device."
This reverts commit 2d29cdb6117be29ff6353d94a6be0784a588fdb6.
This commit is contained in:
parent
4ae0aad113
commit
430a19543e
3
adl.c
3
adl.c
@ -316,9 +316,6 @@ void init_adl(int nDevs)
|
|||||||
ga->DefPerfLev = NULL;
|
ga->DefPerfLev = NULL;
|
||||||
ga->twin = 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);
|
ga->lpOdParameters.iSize = sizeof(ADLODParameters);
|
||||||
if (ADL_Overdrive5_ODParameters_Get(iAdapterIndex, &ga->lpOdParameters) != ADL_OK)
|
if (ADL_Overdrive5_ODParameters_Get(iAdapterIndex, &ga->lpOdParameters) != ADL_OK)
|
||||||
applog(LOG_INFO, "Failed to ADL_Overdrive5_ODParameters_Get");
|
applog(LOG_INFO, "Failed to ADL_Overdrive5_ODParameters_Get");
|
||||||
|
1
miner.h
1
miner.h
@ -206,7 +206,6 @@ struct gpu_adl {
|
|||||||
ADLFanSpeedInfo lpFanSpeedInfo;
|
ADLFanSpeedInfo lpFanSpeedInfo;
|
||||||
ADLFanSpeedValue lpFanSpeedValue;
|
ADLFanSpeedValue lpFanSpeedValue;
|
||||||
ADLFanSpeedValue DefFanSpeedValue;
|
ADLFanSpeedValue DefFanSpeedValue;
|
||||||
ADLThermalControllerInfo lpThermalControllerInfo;
|
|
||||||
|
|
||||||
int iEngineClock;
|
int iEngineClock;
|
||||||
int iMemoryClock;
|
int iMemoryClock;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user