Skip to content

Commit

Permalink
Support SMU of Vangogh GPU shipped with BIOS 113
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Dec 20, 2022
1 parent 9d4828f commit 1783284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PowerControl/Helpers/AMD/VangoghGPU.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using CommonHelpers;
using System.Diagnostics;
using static CommonHelpers.Log;
using Device = System.Tuple<string, ulong, ulong, uint>;
using Device = System.Tuple<string, ulong, ulong, uint[]>;

namespace PowerControl.Helpers.AMD
{
Expand All @@ -10,7 +10,7 @@ internal class VangoghGPU : IDisposable
public static readonly Device[] SupportedDevices =
{
// SteamDeck
new Device("AMD Custom GPU 0405", 0x80300000, 0x8037ffff, 0x43F3900)
new Device("AMD Custom GPU 0405", 0x80300000, 0x8037ffff, new uint[] { 0x43F3900, 0x43F3C05 })
};

private static Device? DetectedDevice;
Expand Down Expand Up @@ -92,7 +92,7 @@ public static DetectionStatus Detect()
}

var smuVersion = gpu.SMUVersion;
if (smuVersion != device.Item4)
if (!device.Item4.Contains(smuVersion))
{
TraceError("GPU: {0}: {1}: SMU not supported: {2:X8} (IO: {3})", deviceName, devicePNP, smuVersion, expectedRange);
return DetectionStatus.Retryable;
Expand Down
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
- Bug fixing to handle all known exceptions
- Require to acknowledge when using function that might trigger `Anti-Cheat` protection via top-most window
- GPU detection will log errors to `Sentry.io`
- Support SMU of Vangogh GPU shipped with BIOS 113

0 comments on commit 1783284

Please sign in to comment.