From 5558a07be883f705bb2961efcc7a3c687e7515c1 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Thu, 17 Oct 2024 08:41:37 +0700 Subject: [PATCH] Update properties for Ice Lake iGPU --- Scripts/config_prodigy.py | 7 +++++-- Scripts/smbios.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Scripts/config_prodigy.py b/Scripts/config_prodigy.py index cee1e78..f1e298a 100644 --- a/Scripts/config_prodigy.py +++ b/Scripts/config_prodigy.py @@ -214,7 +214,10 @@ class ConfigProdigy: native_supported_ids = ("FF05", "8A70", "8A71", "8A51", "8A5C", "8A5D", "8A52", "8A53", "8A5A", "8A5B") if not device_id in native_supported_ids: igpu_properties["device-id"] = "528A0000" - igpu_properties["AAPL,ig-platform-id"] = "0000528A" + igpu_properties["AAPL,ig-platform-id"] = "0200518A" + igpu_properties["enable-dbuf-early-optimizer"] = "01000000" + igpu_properties["enable-dvmt-calc-fix"] = "01000000" + igpu_properties["enable-cdclk-frequency-fix"] = "01000000" igpu_properties["framebuffer-stolenmem"] = "00003001" igpu_properties["framebuffer-fbmem"] = "00009000" @@ -395,7 +398,7 @@ class ConfigProdigy: boot_args.append("igfxonln=1") if "Ice Lake" in intergrated_gpu[-1].get("Codename"): - boot_args.extend(("-noDC9", "-igfxcdc", "-igfxdvmt", "-igfxdbeo")) + boot_args.append("-noDC9") if "Desktop" in hardware_report.get("Motherboard").get("Platform"): if any(monitor_info.get("Connector Type") in ("DVI", "HDMI") for monitor_name, monitor_info in hardware_report.get("Monitor", {}).items() if monitor_info.get("Connected GPU") == intergrated_gpu[0]): diff --git a/Scripts/smbios.py b/Scripts/smbios.py index 83ea885..c7d775c 100644 --- a/Scripts/smbios.py +++ b/Scripts/smbios.py @@ -139,7 +139,7 @@ class SMBIOS: else: smbios_model = "MacBookPro16,3" if int(hardware_report.get("CPU").get("Core Count")) < 6 else "MacBookPro16,1" elif "Ice Lake" in codename: - smbios_model = "MacBookAir9,1" if int(hardware_report.get("CPU").get("Core Count")) < 4 else "MacBookPro16,2" + smbios_model = "MacBookAir9,1" return smbios_model