Skip to content

Commit

Permalink
Revert "Treat AMD IGPU as an external GPU due to patch specifics"
Browse files Browse the repository at this point in the history
This reverts commit 653ede0.
  • Loading branch information
vit9696 committed Mar 2, 2023
1 parent 653ede0 commit 2c53be1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Lilu/Sources/kern_devinfo.cpp
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit 2c53be1

Please sign in to comment.