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:
co-authored by
Peter Hindelang
PhyxionNL
parent
d98ebf80d5
commit
dde9e52823
@@ -1,4 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user