reading the proposed Total Board Power for RX 7000 Cards (#1123)

* reading the proposed Total Board Power for RX 7000 Cards

* undo requested changes

* Update AmdGpu.cs

---------

Co-authored-by: Peter Hindelang <PHindelang@artiso.com>
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
This commit is contained in:
NecromancerForLife
2023-08-31 10:14:40 +02:00
committed by GitHub
co-authored by Peter Hindelang PhyxionNL
parent d98ebf80d5
commit dde9e52823
3 changed files with 13 additions and 3 deletions
+10 -1
View File
@@ -346,9 +346,18 @@ internal sealed class AmdGpu : GenericGpu
GetPMLog(logDataOutput, AtiAdlxx.ADLSensorType.PMLOG_INFO_ACTIVITY_GFX, _coreLoad, reset: false);
GetPMLog(logDataOutput, AtiAdlxx.ADLSensorType.PMLOG_INFO_ACTIVITY_MEM, _memoryLoad);
GetPMLog(logDataOutput, AtiAdlxx.ADLSensorType.PMLOG_ASIC_POWER, _powerTotal, reset: false);
if (_adapterInfo.AdapterName.Contains("AMD Radeon RX 7"))
{
GetPMLog(logDataOutput, AtiAdlxx.ADLSensorType.PMLOG_TOTAL_BOARD_POWER_RX_7000, _powerTotal, reset: false);
}
else
{
GetPMLog(logDataOutput, AtiAdlxx.ADLSensorType.PMLOG_ASIC_POWER, _powerTotal, reset: false);
}
GetPMLog(logDataOutput, AtiAdlxx.ADLSensorType.PMLOG_GFX_POWER, _powerCore, reset: false);
GetPMLog(logDataOutput, AtiAdlxx.ADLSensorType.PMLOG_SOC_POWER, _powerSoC, reset: false);
}
}
}
+2 -1
View File
@@ -553,6 +553,7 @@ internal static class AtiAdlxx
PMLOG_CLK_VCN1CLK2 = 37,
PMLOG_SMART_POWERSHIFT_CPU = 38,
PMLOG_SMART_POWERSHIFT_DGPU = 39,
PMLOG_MAX_SENSORS_REAL
PMLOG_MAX_SENSORS_REAL,
PMLOG_TOTAL_BOARD_POWER_RX_7000 = 73
}
}