Repository navigation
Open the A5 GPU's display card only - #249
Merged
Merged
Conversation
Orchard's 32-bit kernel moves from simplefb to simpledrm (linux#110). On the iPad mini 1 and the iPad 2 that is a second display card on the one screen, beside apple-sgx's, which shows the desktop today. Point Labwc at apple-sgx's card, so the desktop keeps drawing there and gets one output. Assisted-by: LLM Signed-off-by: Henrik Klee <henrik@goat-code.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.
What a user notices: nothing changes. The iPad mini 1 and the iPad 2 keep one desktop on their screen once orchard's 32-bit kernel switches to simpledrm (OrchardLinux/linux#110).
Why it's needed: on those two A5 boards the GPU driver (apple-sgx) has its own display card. The desktop runs on it today, and each frame is copied onto the screen by the GPU's 2D engine. After the switch, simpledrm gives the same screen a second card, used for the boot console. If Labwc opened both cards, it would get two outputs drawing into one screen. The session now points Labwc at apple-sgx's card when the board has one. Every other board, simpledrm-only boards included, is unchanged.
Tests:
tests/test_gpu_video_session.pycovers it with a new test; the whole suite passes locally (485 tests).