Repository navigation
drm/adbe: Keep the layer on screen for a colour-only commit - #181
Open
paulscalise1 wants to merge 1 commit into
Open
paulscalise1 wants to merge 1 commit into
paulscalise1 wants to merge 1 commit into
Conversation
A new CTM goes to the pipe in a packet, and the packet also carries the plane's layer. A commit that changed only the colour sent the last staged plane update, which before the first frame is still zero, so the pipe fell back to scanout address 0. Remember the format, base and stride of the layer each packet puts on screen (the boot framebuffer at probe and after a park), and repeat that layer when a commit has no plane update. Tested on an iPhone 7 (D10) booted from RAM: while CTM-only property commits set and clear the matrix, the pipe's base, format and stride registers stay on the frame being shown. GAMMA_LUT still applies, and 240 page flips take 16.67 ms each. Assisted-by: LLM Signed-off-by: Paul Scalise <paulscalise1@users.noreply.github.com>
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.
Follow-up to #160: a colour-only commit before the first frame fell back to scanout address 0.
What changes
Tested on an iPhone 7 (D10), today's main plus this commit, booted from RAM:
kmsctm) set and clear the matrix while the pipe's base, format and stride registers stay on the frame being shown.--strictis clean.Not tested
🤖 Generated with Claude Code