RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,016
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
Hi @RehabMan , long time no see
Just dump ioreg from a new MacBook. Found something interesting in PNP0C01 for Haswell/Broadwell graphics:
OS X requires MEM2 instead of TPMX in DSDT. Without patching TPMX in DSDT, PNP0C01 will not be loaded correctly. And so does the IOAccelMemoryInfoUserClient. So, here's the patch I made:
Code:#Credit syscl @ github.com/syscl: iGPU use MEM2 instead of TPMX, and r/w memory instead of r/o memory. #syscl_iGPU_MEM2.txt into device label TPMX remove_entry; into device label PCI0 insert begin Device (MEM2) // iGPU use MEM2 instead of TPMX, and RW memory. syscl\n {\n Name (_HID, EisaId ("PNP0C01"))\n Name (_UID, 0x02)\n Name (_STA, 0x0F)\n Name (_CRS, ResourceTemplate ()\n {\n Memory32Fixed (ReadWrite, 0x20000000, 0x00200000, )\n Memory32Fixed (ReadWrite, 0x40000000, 0x00200000, )\n })\n }\n end;
After applying the MEM2 patch, the PNP0C01 on various laptops will be loaded correctly by OS X, here's the screenshot of the change:
View attachment 200946
View attachment 200947
Can you upload this patch in your git(so popular) so that more people will benefit from it.
Best wishes,
syscl.
Please post native ACPI files (DSDT at least).