profzei / Matebook-X-Pro-2018

💻 macOS on Huawei Matebook X Pro 2018
Apache License 2.0
369 stars 48 forks source link

Question: More detail on PCI level DGPU patch #214

Open stevezhengshiqi opened 2 years ago

stevezhengshiqi commented 2 years ago

Hi @profzei , thanks for the great work as always. It seems that you removed all the releases, and whatever the reason is, I am sorry to hear about that and appreciate your work.

As you mentioned in https://github.com/profzei/Matebook-X-Pro-2018/commit/f334f674ad9ad973b0cabd0d8eef323ca3ed5148, if you can give a bit more detail that would be great. What I did is the traditional calling PXSX._OFF () method under RPXX, which disables DGPU in acpi level.

If it is similiar things as https://github.com/daliansky/XiaoMi-Pro-Hackintosh/blob/main/ACPI/Shared/Source/SSDT-DRP08.dsl, I did not do that for DGPU because I still need RPXX device to call PXSX._OFF (); otherwise, DGPU is not turned off in acpi level.