Skip to content

Open the A5 GPU's display card only - #249

Merged
henrikklee merged 1 commit into
mainfrom
armv7-sgx-display-card
Dec 2, 2026
Merged

henrikklee merged 1 commit into
mainfrom
armv7-sgx-display-card

Conversation

@henrikklee

Copy link
Copy Markdown
Contributor

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.py covers it with a new test; the whole suite passes locally (485 tests).

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>
@henrikklee
henrikklee merged commit 1bcb9a9 into main Dec 2, 2026
11 checks passed
@henrikklee
henrikklee deleted the armv7-sgx-display-card branch December 2, 2026 21:22
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.

1 participant