sys_patch_detect: Add MBP13,3 to GCN patchset

Ensure older framebuffer is correctly used

Credit to @OnesuchDev for original finding
This commit is contained in:
Mykola Grymalyuk
2022-10-22 16:41:33 -06:00
parent 20b5a55e6d
commit ebaa1f8176
2 changed files with 6 additions and 1 deletions

View File

@@ -38,6 +38,7 @@
- Resolve Power Management support for Ivy Bridge and older
- Drop AMFI requirement for Nvidia Kepler and AMD GCN 1-3
- Resolve numerous AMD GCN 1-3 issues (ex. Photos.app, Screen Saver, etc.)
- Resolve dGPU support for MacBookPro13,3
- Add work-around to Catalyst Buttons not responding on non-Metal in macOS Monterey
- Re-export OpenCanopy icons to better support Haswell and newer Macs
- Increment Binaries:

View File

@@ -126,7 +126,11 @@ class detect_root_patch:
if gpu.arch == device_probe.AMD.Archs.Polaris:
# Check if host supports AVX2.0
# If not, enable legacy GCN patch
if "AVX2" in self.constants.computer.cpu.leafs:
# MacBookPro13,3 does include an unsupported framebuffer, thus we'll patch to ensure
# full compatibility (namely power states, etc)
# Reference: https://github.com/dortania/bugtracker/issues/292
# TODO: Probe framebuffer families further
if "AVX2" in self.constants.computer.cpu.leafs and self.model != "MacBookPro13,3":
continue
self.legacy_gcn = True