Match GPU memory regions via Device Manager framework instead of Ring 0

This commit is contained in:
Kamil Trzciński 2022-11-22 11:29:32 +01:00
parent 1cd98643bd
commit 4bb264802d
6 changed files with 276 additions and 86 deletions

View file

@ -1,6 +1,8 @@
using CommonHelpers;
using PowerControl.Helpers.GPU;
using PowerControl.Helpers;
using PowerControl.Helpers.AMD;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace PowerControl
{
@ -18,8 +20,6 @@ namespace PowerControl
if (Settings.Default.EnableExperimentalFeatures)
{
Trace.WriteLine("WinRing0 initialized=" + WinRing0.InitializeOls().ToString());
Instance.WithGlobalMutex(1000, () => VangoghGPU.Detect());
}