Skip to content

Commit

Permalink
sys_patch_detect.py: Avoid conflicting AMD patch installation
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed Jan 23, 2023
1 parent 288b827 commit 37e99ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -9,6 +9,8 @@
- Resolve `/Library/Extensions` not being cleaned on KDK-less root patches
- Add AMD Vega Graphics support for pre-AVX2.0 systems on Ventura
- ex. AMD Vega 56 and 64, AMD Radeon VII
- Note: As with Polaris, Vega GPUs cannot be mixed with AMD GCN 1-3 patches
- Patcher will prioritize the AMD GCN 1-3 (assumption that GCN is primary GPU, ex. MacPro6,1)
- Implement proper `APPLE SSD TS0128F/256F` detection
- Allows all Macs to utilize patch if required
- Avoids usage of patch when host lacks affected drive (ex. MacBookAir6,x with upgraded SSD)
Expand Down
5 changes: 3 additions & 2 deletions resources/sys_patch/sys_patch_detect.py
Expand Up @@ -206,12 +206,13 @@ def detect_gpus(self):
self.sandy_gpu = False
self.legacy_keyboard_backlight = False

if self.legacy_polaris is True and self.legacy_gcn is True:
if self.legacy_gcn is True:
# We can only support one or the other due to the nature of relying
# on portions of the native AMD stack for Polaris
# on portions of the native AMD stack for Polaris and Vega
# Thus we'll prioritize legacy GCN due to being the internal card
# ex. MacPro6,1 and MacBookPro11,5 with eGPUs
self.legacy_polaris = False
self.legacy_vega = False

if self.constants.detected_os <= os_data.os_data.monterey:
# Always assume Root KC requirement on Monterey and older
Expand Down

0 comments on commit 37e99ba

Please sign in to comment.