Skip to content

nvidia: dynamic-power: request deferred JT GC6 after FBSR standby - #1613

Open
codyit wants to merge 1 commit into
NVIDIA:mainfrom
codyit:main
Open

codyit wants to merge 1 commit into
NVIDIA:mainfrom
codyit:main

Conversation

@codyit

@codyit codyit commented Nov 29, 2026 •

Copy link
Copy Markdown

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.

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.
@CLAassistant

CLAassistant commented Nov 29, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@codyit codyit changed the title dynamic-power: request deferred JT GC6 after FBSR standby nvidia: dynamic-power: request deferred JT GC6 after FBSR standby Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants