From e16b6e4c221413a7313d9a62d3fdfadb5677d6a3 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Mon, 23 Jan 2023 20:08:48 -0700 Subject: [PATCH] build: Adjust for MacBookPro13,3 --- resources/build/graphics_audio.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/build/graphics_audio.py b/resources/build/graphics_audio.py index 8302fab43..03725844c 100644 --- a/resources/build/graphics_audio.py +++ b/resources/build/graphics_audio.py @@ -433,7 +433,11 @@ class build_graphics_audio: device_probe.AMD.Archs.Vega, device_probe.AMD.Archs.Navi, ]: - if smbios_data.smbios_dictionary[self.model]["CPU Generation"] <= cpu_data.cpu_data.ivy_bridge.value: + if ( + self.model == "MacBookPro13,3" or + smbios_data.smbios_dictionary[self.model]["CPU Generation"] <= cpu_data.cpu_data.ivy_bridge.value + ): + # MacBookPro13,3 has AVX2.0 however the GPU has an unsupported framebuffer has_kdk_gpu = True if has_kdkless_gpu is True and has_kdk_gpu is False: