Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a "Suspend with the dGPU disabled" subsection to the hybrid graphics guide.
On a MacBookPro15,1, suspend crashes while the dGPU is switched off with the guide's
amdgpu-offservice: the kernel still runs amdgpu's suspend callbacks on the powered-off card (amdgpu_pmops_suspend_noirq [amdgpu] returns -22,PM: noirq suspend of devices failed), the Thunderbolt xHCI controllers die, the Mac hangs and the T2 resets it with the fans at full speed. Powering the dGPU back on before suspend does not work (Unable to change power state from D3cold to D0).The new section keeps the dGPU off but also removes it from the PCI bus, so suspend never touches it. The HDMI audio function has to be removed before switching off; removing it afterwards hangs in
snd_card_freeand the display manager never starts, hence alsoTimeoutStartSec=30on the service.Tested on MacBookPro15,1 (Radeon Pro 560X), Arch,
linux-t27.2.9: clean deep suspend/resume, about 12 W idle on battery, versus about 20 W with the dGPU on or withamdgpublacklisted. Details and logs: t2linux/T2-Debian-and-Ubuntu-Kernel#53 (comment)No existing text is changed; the section only adds steps. Passes the repo's markdownlint config.