Repository navigation
Conversation
After dynamic GCOFF standby has saved framebuffer state through FBSR, request the JT EGNS deferred-GC6 handoff only when OpenRM considers GC6 usable and the platform advertises valid JT and MSHYB support. EGNS selects entry without NVIDIA self-refresh; firmware retains responsibility for the platform power sequence. On the affected AML, _PS3/_PS0 consume the deferred request and run that sequence. Keep this scoped to dynamic PM and preserve OpenRM's existing GC6 eligibility and GCOFF selection checks. If the optional JT request fails, report it while retaining the successful standby result; unwind behavior needs separate review. Draft for review: confirm the EGNS command and deferred-request contract on other MSHYB-capable platforms before upstreaming.
1 of 2 tasks
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.
Problem
On at least certain model of Lenovo laptops, after the GPU stops being used and try to go into RTD3, it gets waken up immediately to D0, the loop keeps the device stay at D0, only briefly entering D3Cold once every roughly 20 seconds, detail: #905
Change
After dynamic GCOFF standby has saved framebuffer state through FBSR,
request the JT EGNS deferred-GC6 handoff only when OpenRM considers GC6
usable and the platform advertises valid JT and MSHYB support. EGNS selects
entry without NVIDIA self-refresh; firmware retains responsibility for the
platform power sequence. On the affected AML, _PS3/_PS0 consume the deferred
request and run that sequence.
Keep this scoped to dynamic PM and preserve OpenRM's existing GC6 eligibility
and GCOFF selection checks. If the optional JT request fails, report it while
retaining the successful standby result; unwind behavior needs separate review.
Draft for review: confirm the EGNS command and deferred-request contract on
other MSHYB-capable platforms before upstreaming.
Validation
Tested on Lenovo Legion Slim 5 16APH9 (83DH) with an RTX 4070 Max-Q running 7.2.15-4-omarchy
No D0 <> D3Cold observed with the change, no GPE10 observed.