Repository navigation
asahi: drop legacy T6041 X and upstream UAPI compatibility - #186
Merged
RyanTheTide merged 1 commit intoNov 19, 2026
Merged
Conversation
The Aurora T6041 kernel reports variant C, USC 3 and HAL 200 directly. Remove the out-of-tree asahi_m4 X identity and the zero-USC parameter fixup introduced by 53b30c6; the compatibility path last ran against an earlier Mesa base and is not used by the Aurora kernel. Drop the t6041x shim and test matrix entries, and explicitly reject the T6041 X identity in the chip-admission test. Keep native T6041 admission, the four-cluster USC implementation and its coverage. Signed-off-by: Artyom Astafurov <artyom.astafurov@gmail.com> Assisted-by: LLM
astaff
force-pushed
the
asahi/drop-t6041-legacy-uapi
branch
from
November 18, 2026 15:31
dbd0d63 to
b45e4ec
Compare
astaff
marked this pull request as ready for review
November 18, 2026 15:49
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.
The Aurora M4 Max (
T6041) kernel reports variantC, USC3and HAL200directly. Remove the out-of-treeasahi_m4variant-Xalias and zero-USC UAPI conversion from#85, following Ryan's review follow-up.This removes
agx_params_fixup_upstream_uapi(), its declaration and call, theT6041Xdisplay-name case, and thet6041xdrm-shim/ Gallium test matrix entries. NativeCadmission, the four-cluster USC implementation, and nativet6041shim coverage remain intact, andtest-chip-admissionnow explicitly rejectsT6041X.Exact-head compiler, Gallium
drm-shim, & driver unit testsBuilt with both Gallium +
drm-shimand Honeykrisp (-Dgallium-drivers=asahi -Dvulkan-drivers=asahi -Dtools=drm-shim -Dbuild-tests=true -Dbuildtype=release):57df4db849a):meson test -C build --suite asahipassed 193 / 193 (0failures).b45e4ec54c4):meson test -C build --suite asahipassed 189 / 189 (0failures — exact-4delta from removing the 4asahi-t6041x-gallium-{vs,query,submit,blit}shim cases; all 4 nativeasahi-t6041-gallium-{vs,query,submit,blit}cases andasahi-chip-admissionpass).t6041xoragx_params_fixup_upstream_uapireferences insrc/.Hardware benchmarks (
T6041Apple M4 Max)J616c/T6041, 40-coreG16C B1native variant'C'onG17P/AGX3Bprofile, 64 GB UMA, firmware26B131), Linux7.3.0-j616c-daily27+(aarch64), GCC15.3.0, same boot session, private ICD per arm,MESA_SHADER_CACHE_DISABLE=true,0GPU faults indmesg.aurora-wip):57df4db849a#186HEAD):b45e4ec54c4chain: 128 barrier-separated compute dispatches over 4,096 workgroups + indirect launch transition, 24 warmup + 16 GPU-timestamped samples, exact CPU reference checksum0xdc1d225add1a3da7):agx3_vk_bench.c,barrier_chain.comp,run_stage2_bench.shggml-org/llama.cppcommit669204ee2(llama-benchVulkanVK_KHR_cooperative_matrix,Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf,pp512andtg128, 5 repetitions)stage2_raw_results.txtExact commands
Side-by-side results
57df4db849a)b45e4ec54c4)T6041'C'Apple M4 Max (G16C B1)Apple M4 Max (G16C B1)agx3_vk_bench chainGPU span (median of 16, lower is faster)1,738.563 µs1,737.792 µs-0.04%llama-benchpp512(mean ± SD of 5, higher is faster)595.44 ± 3.61 tok/s595.08 ± 3.42 tok/s-0.06%llama-benchtg128(mean ± SD of 5, higher is faster)66.67 ± 0.09 tok/s66.30 ± 0.19 tok/s-0.55%Steady 16-sample GPU command spans (
µs, capture order, exact checksum0xdc1d225add1a3da7on both arms):T6041'X'/ zero-USC fixup does not alter the runtime path on the Aurora kernel (< 0.6%run-to-run noise across all measurements,0regressions). Users pairing Mesa with pre-Aurora out-of-treeT6041kernels must move to the Aurora kernel.