Skip to content

Commit

Permalink
Added missing OD8 values (Bus Speed and Lanes).
Browse files Browse the repository at this point in the history
  • Loading branch information
nalilord committed Jan 20, 2021
1 parent 70f02fa commit 67abfee
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 7 deletions.
6 changes: 6 additions & 0 deletions Common/adl.pas
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,12 @@ procedure TADL.Update;
PMLOG_CLK_VCN1CLK2: ;
PMLOG_SMART_POWERSHIFT_CPU: ;
PMLOG_SMART_POWERSHIFT_DGPU: ;
PMLOG_BUS_SPEED: Adapter.FBusSpeed:=value;
PMLOG_BUS_LANES:
begin
Adapter.FBusLanes:=value;
Adapter.FBusLanesMax:=Max(Adapter.FBusLanes, value);
end;
PMLOG_MAX_SENSORS_REAL: ;
end;
end;
Expand Down
14 changes: 13 additions & 1 deletion Common/adl_defines.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2000,6 +2000,14 @@ interface
OD8_FAN_CURVE_TEMPERATURE_5,
OD8_FAN_CURVE_SPEED_5,
OD8_WS_FAN_AUTO_FAN_ACOUSTIC_LIMIT,
RESERVED_1,
RESERVED_2,
RESERVED_3,
RESERVED_4,
OD8_UCLK_FMIN,
OD8_FAN_ZERO_RPM_STOP_TEMPERATURE,
OD8_OPTIMZED_POWER_MODE,
OD8_OD_VOLTAGE,
OD8_POWER_GAUGE, //Starting from this is new features with new capabilities and new interface for limits.
OD8_COUNT
);
Expand Down Expand Up @@ -2046,6 +2054,8 @@ interface
PMLOG_CLK_VCN1CLK2 = 37,
PMLOG_SMART_POWERSHIFT_CPU = 38,
PMLOG_SMART_POWERSHIFT_DGPU = 39,
PMLOG_BUS_SPEED = 40,
PMLOG_BUS_LANES = 41,
PMLOG_MAX_SENSORS_REAL
);

Expand Down Expand Up @@ -2099,7 +2109,9 @@ interface
ADL_PMLOG_CLK_VCN1CLK1 = 36,
ADL_PMLOG_CLK_VCN1CLK2 = 37,
ADL_PMLOG_SMART_POWERSHIFT_CPU = 38,
ADL_PMLOG_SMART_POWERSHIFT_DGPU = 39
ADL_PMLOG_SMART_POWERSHIFT_DGPU = 39,
ADL_PMLOG_BUS_SPEED = 40,
ADL_PMLOG_BUS_LANES = 41
);

implementation
Expand Down
9 changes: 7 additions & 2 deletions Plugin/AMDPlugin.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
{ }
{ AMDPlugin - Rainmeter AMD GPU Plugin }
{ }
{ Version 0.3 }
{ Version 0.5 }
{ }
{ 2021-01-14 - 0.5 }
{ Added support the OD8 API and 6000 Series }
{ 2020-11-08 - 0.4 }
{ Updated the reading of the D3DKMT Shared and }
{ Dedicated memory values }
{ 2020-10-07 - 0.3 }
{ Added "DriverDate" Measure }
{ Added "DriverVersion" Measure }
Expand All @@ -16,7 +21,7 @@
{ 2020-10-03 - 0.1 }
{ Initial Release }
{ }
{ (c) 2020 by NaliLord }
{ (c) 2021 by NaliLord }
{ }
{*******************************************************}

Expand Down
8 changes: 4 additions & 4 deletions Plugin/AMDPlugin.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<FrameworkType>None</FrameworkType>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Release</Config>
<Platform Condition="'$(Platform)'==''">Win64</Platform>
<Platform Condition="'$(Platform)'==''">Win32</Platform>
<TargetedPlatforms>3</TargetedPlatforms>
<AppType>Library</AppType>
<MainSource>AMDPlugin.dpr</MainSource>
Expand Down Expand Up @@ -124,10 +124,10 @@
<DCC_DebugInformation>0</DCC_DebugInformation>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2_Win32)'!=''">
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) $(Platform) $(Config);FileVersion=1.0.4.1;InternalName=$(MSBuildProjectName);LegalCopyright=(c) 2020 by NaliLord;OriginalFilename=AMDPlugin.dll;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=Rainmeter AMD GPU Plugin;ProductVersion=1.0.0.0</VerInfo_Keys>
<VerInfo_Keys>FileDescription=$(MSBuildProjectName) $(Platform) $(Config);FileVersion=1.0.5.2;InternalName=$(MSBuildProjectName);LegalCopyright=(c) 2021 by NaliLord;OriginalFilename=AMDPlugin.dll;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=Rainmeter AMD GPU Plugin;ProductVersion=1.0.0.0</VerInfo_Keys>
<Manifest_File>(None)</Manifest_File>
<VerInfo_Release>4</VerInfo_Release>
<VerInfo_Build>1</VerInfo_Build>
<VerInfo_Release>5</VerInfo_Release>
<VerInfo_Build>2</VerInfo_Build>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2_Win64)'!=''">
<Manifest_File>(None)</Manifest_File>
Expand Down
Binary file modified Plugin/AMDPlugin.res
Binary file not shown.

0 comments on commit 67abfee

Please sign in to comment.