Repository navigation
soc: apple: clpc: give dense light GPU work the T8140 GPU floor - #563
Merged
DjDeveloperr merged 1 commit intoOct 29, 2026
Merged
Conversation
On T8140 the GPU floor (DCS 4, fabric 3) follows graphics power: work that keeps graphics powered for 64 ms streams and gets it, while frame-paced loads power graphics up and down and leave it down. Light submissions a few milliseconds apart also let graphics power off between them, so they never stream, yet each of them waits on the fabric, which with the panel off nothing else holds up. Count the GPU driver's submissions through the host activity input that T6040 already uses, and give the floor to work with two or more submissions in each of four sampling periods in a row (16 ms, one 60 Hz frame). A frame-paced load leaves a quieter period in every frame and stays below. The floor keeps the PMP back-off and the vote hold of streaming work. On T8140 a cold publication does not sample at once, as it does on T6040, where the publication is the demand. Such a sample at the start of each frame of video playback finds the CPUs busy and holds the DCS up through their vote. debugfs counts the samples that applied the floor for streaming and for dense work. The T8140 GPU node now links its CLPC. Device trees without that link still find the single T8140 CLPC, as a hint the GPU probes without.
This was referenced Oct 29, 2026
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.
On the Neo (J700, T8140), light GPU submissions a few milliseconds apart never got the GPU floor (DCS 4, fabric 3). Graphics powers off between them, so they never count as streaming, and each submission then waits on a low fabric, which nothing else holds up while the panel is off. gpubench
idle.wakeat a 2 ms gap shows it: 192 µs, against 153 µs on macOS.This gives such work the floor. Work with two or more submissions in each of four 4 ms samples in a row (one 60 Hz frame) counts as dense. Frame-paced loads such as video leave a quiet period in every frame and stay below that. The floor keeps the PMP back-off and the vote hold that streaming work has. Submissions are counted through the host activity input T6040 already uses. Unlike T6040, a cold publication on T8140 doesn't trigger an immediate sample, because one taken as each video frame starts finds the CPUs busy and raises the DCS through their vote; that was +0.07 W in video in an earlier version. debugfs now counts the samples that applied the floor for streaming and for dense work.
Results on the Neo, comparing integration d266c70 with and without this change. Boots strictly alternated, ×2 each, 4 rounds of each row per boot. Panel off except the power legs and the "panel on" row.