From 2c53be1e7584d624e995e5bbdb0a21d739ffff2c Mon Sep 17 00:00:00 2001 From: vit9696 Date: Thu, 2 Mar 2023 14:41:16 +0300 Subject: [PATCH] Revert "Treat AMD IGPU as an external GPU due to patch specifics" This reverts commit 653ede05ce40382feb72df81e7dabf992ae18beb. --- Lilu/Sources/kern_devinfo.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Lilu/Sources/kern_devinfo.cpp b/Lilu/Sources/kern_devinfo.cpp index e9fc461b..5a37ac02 100644 --- a/Lilu/Sources/kern_devinfo.cpp +++ b/Lilu/Sources/kern_devinfo.cpp @@ -274,11 +274,7 @@ void DeviceInfo::grabDevicesFromPciRoot(IORegistryEntry *pciRoot) { audioBuiltinAnalog = v.audio; if (v.video && v.vendor == WIOKit::VendorID::ATIAMD) { - v.audio = nullptr; - - DBGLOG("dev", "marking counterpart video device as gpu at %s", safeString(v.video->getName())); - if (!videoExternal.push_back(v)) - SYSLOG("dev", "failed to push video gpu"); + videoBuiltin = v.video; } } }