Skip to content

Commit

Permalink
Added AMD IGPU detection
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Feb 28, 2023
1 parent 307f1f8 commit 6543c90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Lilu Changelog
==============
#### v1.6.4
- Added AMD IGPU detection

#### v1.6.3
- Added Raptor Lake CPU definitions

Expand Down
4 changes: 4 additions & 0 deletions Lilu/Sources/kern_devinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ void DeviceInfo::grabDevicesFromPciRoot(IORegistryEntry *pciRoot) {
// To distinguish the devices we use audio card presence as a marker.
DBGLOG("dev", "marking audio device as HDEF at %s", safeString(v.audio->getName()));
audioBuiltinAnalog = v.audio;

if (v.video && v.vendor == WIOKit::VendorID::ATIAMD) {
videoBuiltin = v.video;
}
}
}
}
Expand Down

0 comments on commit 6543c90

Please sign in to comment.