Repository navigation
takeover: displayctl drm probe (stage 3a), double-buffered KMS page-flip, and KGSL ui-rb/off-level switches - #79
Merged
Merged
Conversation
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.
Implements Stage 3a + 3c display/GPU takeover improvements for Galaxy S24 Ultra:
1440x3120@120), CRTCs, planes (Primary/Overlay/Cursor, FourCC formats), and properties (runtime/display/src/drm_probe.rs).display=drminruntime/xnuhost/src/display.rs): upgrades the KMS backend to double-buffered dumb buffers withPAGE_FLIP(falling back toDIRTYFBif refused) and highest-Hz mode selection.gpu-kgsl-ui-rb=0|1, default0): keeps render server and front app at KGSL priority 8, out of Android's 4-7 UI ringbuffer (drm2kgslpatch0011,oneios_gpu_policy.h,policy.rs,switches.json).gpu-off-level=0|1, default1): holds KGSL atKGSL_CONSTRAINT_PWR_MINwhile iOS's display is off (brightness::display_on() == false).docs/switches.md,docs/plan-ios-first-session.md,runtime/display/README.md.Verified on the build laptop (
100.76.16.53):oneios-switches(3/3),oneios-display(25 unit + 24displayctl+ 1java_modes),cargo fmt --all --check,cargo clippy --workspace --all-targets --locked -- -D warnings,lint-android,port(17/17),links(12/12),package(35/35). Not booted on the phone yet.