Repository navigation
drm/asahi: describe the T8122 extended firmware profile and owned IO records - #965
Merged
RyanTheTide merged 127 commits intoNov 10, 2026
Merged
Conversation
Use the PMGR provider active-state predicate when checking inherited display power. DISP_CPU can report ACTUAL=4 with AUTO_ENABLE and TARGET=15 after automatic clock gating. Keep the checks read-only and preserve all other handoff requirements. Test all actual, target and automatic-state combinations and the captured J613 state through the production helper. Signed-off-by: Satya Benson <satya@benson.earth>
Cross all 512 ACTUAL/TARGET/AUTO combinations with zero, all-set, alternating and individual unrelated-bit patterns. This verifies that readiness ignores every bit outside the three PMGR fields. A temporary ACTUAL mask widened from GENMASK(7, 4) to GENMASK(8, 4) passes the old cases but fails the new ones at both -O0 and -O2. Make the unoptimized compiler flag explicit and report failing words. Signed-off-by: Satya Benson <satya@benson.earth>
…records Separate firmware identity, HAL metadata and VM bounds from physical G15G stream selection. Add checked root and owned IO descriptor encoders. Introduce slot 28 at SGX+0xd50000 with a production-writer regression; the shifted T8132 bank is never introduced. Keep VM padding zero. Signed-off-by: Satya Benson <satya@benson.earth>
Build extended initialization owners, controller images and channel records with checked allocation spans. Publish the bounded loader table through existing M3 ownership. Keep extended runtime admission closed. Signed-off-by: Satya Benson <satya@benson.earth>
Construct native queue, pool, context and notifier records. Read controller inputs from the admitted OPP handoff, preserve nanosecond durations and reject unsupported optional flags. Prepare native startup without enabling extended admission. Signed-off-by: Satya Benson <satya@benson.earth>
Dispatch extended firmware compute records through the existing M3 runtime while preserving G15 CDM streams. Retain owned pool backing and leave firmware-managed register setup to the extended interface. Signed-off-by: Satya Benson <satya@benson.earth>
Encode extended tiler and fragment work, scene records, independent notifications and attachment visibility through the existing runtime. Retire native pools and enable only the exact J613 26.6.2 profile. Keep the public UAPI and physical G15 stream formats unchanged. Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
…port-347-20261104
Brings the updated port-302 base, and through it integration/aurora, into this layer so it still merges onto port-302. Resolves tools/asahi/run-host-tests.py: port-302 now carries Aurora's ane-tm-transient-fault-tests.py entry at the top of ASAHI_TESTS, where this branch registered test-m3-uapi.py. Keep both, Aurora's first, as in the port-302 merge. Nothing else conflicted.
Member
Author
|
@DjDeveloperr @RyanTheTide ready for your regression testing. It hasn't been boot-tested on J613 with 7.3 yet; I'll post the result here when I have it. |
Brings the updated port-303 base, and through it integration/aurora, into this layer so it still merges onto port-303. Resolves tools/asahi/run-host-tests.py: port-303 now carries Aurora's ane-tm-transient-fault-tests.py entry at the top of ASAHI_TESTS, where this branch registered test-m3-power.py. Keep both, Aurora's first, as in the port-302 merge. Nothing else conflicted.
Member
Author
|
J613 boot result on 7.3 (rubra, M3 MacBook Air 13", macOS 26.6.2 / 25G83 firmware), 2026-11-05.
|
Signed-off-by: Diljit Singh <hey@djdev.me>
Keep both sides of the MAINTAINERS and tools/asahi/run-host-tests.py entries. Signed-off-by: Diljit Singh <hey@djdev.me>
Signed-off-by: Diljit Singh <hey@djdev.me>
Signed-off-by: Diljit Singh <hey@djdev.me>
Signed-off-by: Diljit Singh <hey@djdev.me>
Keep both sides of the tools/asahi/run-host-tests.py entries. Signed-off-by: Diljit Singh <hey@djdev.me>
Signed-off-by: Diljit Singh <hey@djdev.me>
drm/asahi: back off interrupt-assisted M3 completion waits
drm/asahi: admit authorized HIGH queues on Extended T8122
drm/asahi: enable J613 extended firmware render and retirement
drm/asahi: dispatch G15 compute through extended T8122 firmware
drm/asahi: prepare extended firmware queues and controller handoff
drm/asahi: construct and publish extended T8122 initialization data
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.
Stacked on #964 (port of omacom/linux-aurora#302); review that first.
Describe the Extended 26.6.2 firmware profile and owned IO records for T8122. Keep Extended admission disabled at this layer.
Port of omacom/linux-aurora#303. Depends on the port of omacom/linux-aurora#302; use the stack base above to review this layer. The original PR remains untouched.
This layer also incorporates the coldplug prerequisite from omacom/linux-aurora#301.
Carried dependencies (original patch, complete message, authorship and dates preserved; 7.3 adaptations are separate commits):
e51f1082fa2384ef8e4d724dad52c9b317f6e45af192f61d8e864a57c40ee16c5bbae3f875c5823f60b3eae5bfa6b7d3d2666d8ca7a5c9dcc611f3f1e8023bba60e634b754f9d5cf8a31fe1856860486865371b461eccdbbee806b505f46bda16246daaee9d200311a5359dafc5391123e5ac297e5a4401080958cd5a4956cdb981acb5b18c64047548cba17f5af0ba04b7aa809ff54a8f092b08ba0@scottjones @chriskearney @DjDeveloperr @RyanTheTide
This carries Scott Jones's T8122 runtime and safety foundation from omacom/linux-aurora unaltered, because Aurora doesn't have it yet and this change builds on it. If you'd rather land it separately or differently, say so and I'll rework this.
This carries Chris Kearney's M3 native defaults and startup diagnostics from omacom/linux-aurora unaltered, because Aurora doesn't have it yet and this change builds on it. If you'd rather land it separately or differently, say so and I'll rework this.
This carries DjDeveloperr's M3 client parameter admission and timestamp adapter from omacom/linux-aurora unaltered, because Aurora doesn't have it yet and this change builds on it. If you'd rather land it separately or differently, say so and I'll rework this.
Aurora #783 held this foundation pending identity-selected constants and J613/J615 qualification. This port does not clear that hold.
Validation: arm64 defconfig + asahi.config, Image/modules/DTBs with BTF and KUnit enabled, LLVM 18/Rust 1.85.0, passed at stack top #347 (
7b88ebb77e46), which includes this branch. The validated integration base is b500668. QEMU loaded the test-bearing modules successfully with no additional failures. The combined run retains four pre-existing SEP store failures (plus their suite aggregate), reproduced on the unmodified Aurora base. The unmodified pinned base also crashes in apple-av-audio-lifetime/av_lifetime_devres_order; that unrelated audio suite is explicitly excluded. All tests added by these ports run through KUnit debugfs on Cortex-A76. This is not a fully green or complete-tree KUnit run. M3 runtime, firmware, batching and paired UAPI fixtures passed. No 7.3 hardware boot or deployment has been performed.