Repository navigation
agx: admit the full half-index namespace in the G17-class unary encoder - #629
Conversation
3605dac to
b5becb6
Compare
|
The change looks right to me. The runtime entry point is only admitted for G17-class encodings (
Assisted-by: LLM (Claude:Opus 5.5) |
On G18G, floor/ceil/trunc and log2/exp2 are encoded through the funop encoder's runtime entry point (agx3_funop_encode_g17g() -> agx3_funop_encode_runtime()), which refused a destination or source above h127. A G18G shader whose allocation put one of these operands there failed to compile. In production, agx3_emit_funop() routes only G18G AGX3_FUNOP_FLOOR, AGX3_FUNOP_CEIL, AGX3_FUNOP_TRUNC, AGX3_FUNOP_LOG2, AGX3_FUNOP_EXP2, AGX3_FUNOP_RSQRT and AGX3_FUNOP_SQRT_STEP through the runtime entry point (agx3_pack_binary.c handles SRSQRT and unsaturated RSQRT earlier via separate ALU helpers that already take high registers, and agx3_emit_funop() keeps AGX3_FUNOP_RINT off this route so roundeven falls through to agx3_alu_unary_m5()). The runtime encoder helper itself supports all five G17-class scalar register unary forms -- f32rint (including AGX3_FUNOP_RINT), f32log2, f32exp2, f32rsqrt and f32sqrtstep -- each of which deposits every bit of its destination and source index fields identically in the AGX3C and AGX3D (G18G) tables. The runtime entry point now admits the full eight-bit half-index namespace (h0-h255) that the AGX3C packers already use. The pair rule for 32-bit operands stays: h254 encodes as h254:h255 and h255 is refused. Encodable is not allocatable: RA still caps AGX3C and AGX3D at 252 halves, so h252-h255 only appear in the encoder tests. The legacy entry point keeps its 128-half limit. It serves the fixed AGX3B/AGX3C replay forms and the remaining qualified production forms, whose SSA webs RA constrains to the low bank. The unit test encodes every register for each of these instructions, decodes the word with the G18G table and checks the registers it names, and checks that h256 and a 32-bit h255 are refused. Signed-off-by: Erik Bourget <erik@ebourget.net>
b5becb6 to
ed79255
Compare
|
Updated the comment in Both now distinguish what production actually routes through Host checks on |
There was a problem hiding this comment.
Formal pre-PR checklist (§1–§6) review at ed79255b51ed251fd3ca04644dfc0c1764524a5f (base aurora-wip, live tip efabab38502d).
Code, Superseded & Policy Audit (§1–§4, §6) — PASS
- Not superseded:
aurora-wip(efabab38502d) still capsagx3_funop_encode_impl()atdest >= 128 || src >= 128(src/asahi/compiler/agx3_funop_core.c:162); #768 (90f9e2ec0843) only touchedagx3_funop_carries_wait(). - Register/index encoding & cross-generation safety (
agx3_funop_core.c,test-agx3-funop-core.c):runtimeis non-NULL only viaagx3_funop_encode_runtime()/agx3_funop_encode_g17g()(which already requireagx_encoding_is_g17_class(enc)), and in productionagx3_emit_funop()(agx3_pack_binary.c:959-984) routes only G18GFLOOR/CEIL/TRUNC/LOG2/EXP2/RSQRT/SQRT_STEPhere (keepingAGX3_FUNOP_RINToff this route and leaving AGX2, AGX3B, and G17G/S/C codegen untouched).- Verified directly in
agx3c_tables.txtandagx3d_tables.txtthatf32rint,f32log2,f32exp2,f32rsqrt, andf32sqrtstepall share identical 9-bit field-deposit layouts forf2(dest) andf18(src) across AGX3C and AGX3D. - 32-bit pair alignment is preserved (
(!dest_16 && (dest & 1)) || (!src_16 && (src & 1))), soh254:h255encodes while 32-bith255and any>= 256are refused; the legacy entry point keeps its 128-half contract. test-agx3-funop-core.cround-trips every register0..255throughagx3_funop_encode_g17g()+agx3_decode(&agx3d_table, ...)and verifiesfields[2] == dest && fields[18] == srcplush256and 32-bith255refusal. Prior comment wording point onAGX3_FUNOP_RINTis resolved.
- §1–§4, §6: Keyed on G17-class runtime encoder capability (not a model gate); production-ready; human author/committer + human
Signed-off-by:only oned79255b51ed(zero AI trailers); PR body ends withAssisted-by:; clean naming.
Actionable Blockers (§5 Hardware Evidence & PR Status)
- §5 M6 (
G18G/AGX3D) live hardware verification missing: There are zero hardware runs on G18G — the only hardware target whose codegen this PR changes. Before merge, post a live M6 (G18G) hardware run executing high-register (>= h128) floor/ceil/trunc/log2/exp2/rsqrt/sqrtstep operands (e.g., targeted shader readback or Vulkan/GL CTS cases exercising high-bank RA allocation) with exact machine/kernel/build tuple, 0 GPU faults, and clean system health (0 SELinux denials / 0 new failed units / 0 new kernel errors). - PR body out of sync: The PR is marked ready for review (
isDraft: false), butStill to runstill states "This PR stays a draft until then."
|
Updated On hardware verification: no M6 ( |
satchlj
left a comment
There was a problem hiding this comment.
Verdict at ed79255b51ed
REQUEST_CHANGES — code, comments, host encoder/decoder tests, clean merge onto aurora-wip (00a73680e009), and Apple M5 Max regression check are all clean (and the earlier stale draft sentence in Still to run is fixed); narrowed solely to the remaining M6 (G18G) live hardware verification gate.
Blockers
- Missing M6 (
G18G/AGX3D) live hardware verification:- Because
agx3_emit_funop()routes onlyG18Gthroughagx3_funop_encode_g17g(), no live hardware run yet exercises the changed production codegen path. Before merge, post a live M6 (G18G) run exercising>= h128operands forfloor/ceil/trunc/log2/exp2(and saturatedrsqrtwhere applicable) with exact machine/kernel/build details, 0 GPU faults, and clean system health.
- Because
Checked
- Audited all 2 changed files (
src/asahi/compiler/agx3_funop_core.c,src/asahi/compiler/test/test-agx3-funop-core.c, 110 diff lines) and commit hygiene (ed79255b51ed,Signed-off-by:present). - Verified
nr_regs = runtime ? 256 : 128keeps the legacy entry point capped at 128 halves, preserves 32-bit even-pair alignment (admittingh254:h255, refusing 32-bith255and any>= 256), and matchesagx3_emit_funop()production routing. - Merged cleanly onto
aurora-wip(00a73680e009), built on Apple M5 Max (Linux 7.3) with-Dbuildtype=debugoptimized -Db_ndebug=false -Dvulkan-drivers=asahi -Dgallium-drivers=asahi -Dplatforms=wayland -Dglx=disabled -Dbuild-tests=true -Dtools=drm-shim:meson test --suite asahi --suite poly: 295/295 OK (includingasahi - mesa:agx3_funop_core OK).- Live Apple M5 Max Borealis Vulkan CTS (
MESA_SHADER_CACHE_DISABLE=true):dEQP-VK.glsl.builtin.precision.floor.*8/10 Pass, 2 NotSupported, 0 Fail;dEQP-VK.glsl.builtin.precision.log2.*8/10 Pass, 2 NotSupported, 0 Fail; 0 GPU faults in dmesg.
- Untested scope: M6 (
G18G/AGX3D) live hardware execution (not available locally).
Evidence
git merge-tree --write-treeagainstaurora-wip00a73680e009: clean.meson test --suite asahi --suite poly:Ok: 295,Fail: 0(30/295 asahi - mesa:agx3_funop_core OK).- Live Apple M5 Max
deqp-vk(MESA_SHADER_CACHE_DISABLE=true):dEQP-VK.glsl.builtin.precision.floor.*:Passed: 8/10,Failed: 0/10,Not supported: 2/10.dEQP-VK.glsl.builtin.precision.log2.*:Passed: 8/10,Failed: 0/10,Not supported: 2/10.- New GPU dmesg faults:
0.
PR #1021 moved G18G floor/ceil/trunc onto agx3_alu_unary_m5() alongside roundeven, leaving only f32log2, f32exp2, f32rsqrt and f32sqrtstep on the agx3_funop_encode_g17g() production route in agx3_emit_funop(). Update the comment in agx3_funop_encode_impl() to match aurora-wip. Signed-off-by: Erik Bourget <erik@ebourget.net>
|
Updated the production-routing comment in
|
There was a problem hiding this comment.
Verdict: FINISH, then merge at ccad404e
Blockers:
- Missing live M6 (
G18G) hardware verification row exercisingf32log2/f32exp2/saturatedf32rsqrt/f32sqrtstepaboveh127(the target path this PR unblocks).
Checked:
src/asahi/compiler/agx3_funop_core.c& tests: admitsh0..h255half-index namespace while keeping 32-bit even-pair alignment;ccad404eupdates the routing comment to matchaurora-wip; host encoder/decoder tests and M5 Max regression check are clean;MERGEABLEonaurora-wip.- Checked for Apple material, tool attribution, private serials, and Borealis naming: clean.
Evidence
- Head:
ccad404e0b0(base: aurora-wip,mergeable: MERGEABLE,+78/-2across 2 files).
|
@satchlj Re-verified at head
|
|
A reusable high-register Vulkan workload is ready for ccad404. The isolated driver pair is aurora-wip 293cc49 and c3573f560627, which integrates the exact PR head.
The checksummed AArch64 kit is kits/test/20261130-mesa629-high-unary. It captures the real GPU readback and the linked shader binaries for native J873g. The native G18G comparison is still due. The fixture now exercises high-half log2 and exp2 directly. For saturation, please use an identified production shader that actually emits the modifier if one is available. |
|
Thanks for the kit. The drm-shim comparison covers what this PR unblocks: G18G Saturated high-half Still open: a native G18G run of |
satchlj
left a comment
There was a problem hiding this comment.
Verdict: MERGE at ccad404e0b0979d8cd446efcea1d3d6a5f750839
Blockers: none
Checked:
- The change does what it claims: in the G18G drm-shim comparison,
log2andexp2pipelines that fail withVK_ERROR_UNKNOWNon trunk compile at this head with operands up to h164. M1-M5 paths are unchanged: J716c and J713 precision CTS show 0 diffs against base. - The native M6 run I asked for moves to a follow-up: run
kits/test/20261130-mesa629-high-unaryon an M6 when one is available. - CI: this repo runs no PR CI (waived); host funop suite 1,772/1,772 at this head.
Evidence
ccad404e is a comment-only change on top of ed79255b. Rows and the shim comparison are in the thread.
|
At |
There was a problem hiding this comment.
Verdict: MERGE at ccad404e0b09
Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.
Checked: - src/asahi/compiler/agx3_funop_core.c & tests: admits h0..h255 half-index namespace while keeping 32-bit even-pair alignment; ccad404e updates the routing comment to match aurora-wip; host encoder/decoder tests and M5 Max regression check are clean; MERGEABLE on aurora-wip.
- Checked for Apple material, tool attribution, private serials, and Borealis naming: clean.
Follow-ups (not blocking): live M6 G18G row for f32 unary ops above h127
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
On which saturated
The PR body has the |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Approving at ccad404e0b09. This clears my earlier change request.
Checked: the encoder now admits h0-h255 only on the runtime entry point (agx3_funop_core.c:185), keeps 32-bit operands on even pairs, and leaves the legacy 128-half limit in place. The new test decodes every word with the G18G table. The rows on J716c, J713, J313 and J700 show no change on the chips that don't take this path, and the G18G drm-shim comparison shows the log2/exp2 pipelines that failed on trunk now compile.
No M6 is available in our lab, so the native J873g readback with kits/test/20261130-mesa629-high-unary is a post-merge peer request, not a merge hold.
What: Admit the full eight-bit half-index namespace (
h0–h255, keeping 32-bit even-pair alignment) inagx3_funop_encode_runtime()andagx3_funop_encode_g17g(), unblocking G18G shaders whose allocation placesf32log2,f32exp2, or saturatedf32rsqrtoperands aboveh127(and raising the encoder-levelf32sqrtsteplimit toh255, though the G18G packer handlesSRSQRTbefore funop dispatch and exits withcontinue).Tested: Host
x86_64atccad404e0b09(agx3_funop_core1,772/1,772 checks,agx_tests1,227 passed / 1 skipped,asahi+poly231/234 with 3 pre-existing headless EGL/GLVND failures). G18Gdrm-shimcompile A/B (aurora-wip293cc49fc266vsc3573f560627integratingccad404e0b09):log2/exp2failVK_ERROR_UNKNOWNon trunk and compile on candidate (19high-half ops>= h128, maxh164); synthetic64/64saturatedrsqrt(h128–h254) vs0/64trunk. SavedJ700(G17P)kits/test/20261130-mesa629-high-unary: each driver returned all 2,560 CPU-checked values for each of 3 workloads; max absolute errors matched; empty kernel journal window. Exact-headccad404e0b09vsaurora-wip46f3a68e60d9(unaffected non-G18Ghardware):J716cM5 Max(dEQP_VK_glsl_builtin_precision664-case selection, 0 diffs, boot/smoke clean, 0 GPU faults) andJ713M4 Air(dEQP-VK.glsl.builtin.precision.*all 1,800 cases, 0 diffs, default-boot baseline smoke clean, 0 newdmesgerror lines);J313M1 Air(G13G) withaurora-wip8a40c215dec9, exactccad404e0b09, andccad404e0b09merged onto8a40c215dec9(dEQP-VK.glsl.builtin.precision.*, 664-case selection, 544 Pass / 120 NotSupported on all three, 0 diffs; default-boot smoke clean, 0 new GPU error lines). Prior-headed79255b51edJ716cchecks are in Evidence.Risk: two-way door · M6 (
G18G) only at runtime (agx3_emit_funop()gatesagx3_funop_encode_g17g()onagx_is_g18g(&ctx->key->dev)); M1–M5 and legacyagx3_funop_encode_source_lifetime()callers keep their existing paths.Revert:
git revert -m 1 <merge-sha>onaurora-wip(orgit revert ccad404e0b09 ed79255b51ed) and rebuild/reinstall Mesa; no persistent on-disk, shader-cache (hk_cache_identity()hashesbuild_sha), UAPI, or firmware state is changed.Not yet:
M6(G18G/J873g/AGX3D, not present in our lab; satchlj moved the native M6 run to a follow-up; DjDeveloperr's change request still asks for it): live native run ofkits/test/20261130-mesa629-high-unaryexercising>= h128f32log2andf32exp2readback with0GPU faults and clean system health (and saturatedf32rsqrtif an identified production shader emits the modifier; the optimizer currently keeps the clamp separate, so saturatedf32rsqrthas synthetic encoder coverage). SaturatedRSQRTis the only saturated form that reachesagx3_funop_encode_g17g(): saturatedSRSQRTis refused (AGX3_REFUSE) atagx3_pack_binary.c:18431and saturatedSQRT_STEPis also refused atagx3_funop_core.c:158, so no form ofSQRT_STEPreaches the encoder. Note thatJ716c(G17C),J713(G16G),J313(G13G), andJ700(G17P) exercise unaffected non-G18Ghardware (agx_is_g18g() == false).Details
On G18G,
agx3_emit_funop()insrc/asahi/compiler/agx3_pack_binary.croutesAGX3_FUNOP_LOG2,AGX3_FUNOP_EXP2, and saturatedAGX3_FUNOP_RSQRTthroughagx3_funop_encode_g17g()->agx3_funop_encode_runtime(), which previously refused any destination or source register aboveh127. Following#1021(ed2351e4f06), all four rounding ops (AGX3_FUNOP_FLOOR,AGX3_FUNOP_CEIL,AGX3_FUNOP_TRUNC,AGX3_FUNOP_RINT) fall through toagx3_alu_unary_m5(), and the G18G packer handlesAGX_OPCODE_SRSQRT(along with unsaturatedAGX_OPCODE_RSQRT) earlier inagx3_pack_binary.cand exits withcontinuebefore funop dispatch—sof32sqrtstepcoverage inagx3_funop_encode_g17g()is encoder-only, not production packer dispatch. Furthermore, the current clampedrsqrthigh-register shader preserves the clamp as a separate instruction (saturate=falseon thersqrt), so saturatedf32rsqrthigh-register behavior is covered by the synthetic encoder test (64/64forh128–h254). On G17C (agx_is_g18g(&ctx->key->dev) == false),agx3_emit_funop()never callsagx3_funop_encode_g17g().RSQRTis the only saturated form that reachesagx3_funop_encode_g17g(); saturatedSRSQRTis refused (AGX3_REFUSE) atagx3_pack_binary.c:18431and saturatedSQRT_STEPis also refused atagx3_funop_core.c:158, so no form ofSQRT_STEPreaches the encoder.agx3_funop_encode_runtime()/agx3_funop_encode_g17g()): setsnr_regs = runtime ? 256 : 128, admittingh0–h255across all five G17-class scalar register unary forms (f32rint,f32log2,f32exp2,f32rsqrt,f32sqrtstep), each of which deposits its destination (f2) and source (f18) index bits identically insrc/asahi/compiler/agx3_compose/agx3c_tables.txtandsrc/asahi/compiler/agx3_compose/agx3d_tables.txt.h254:h255encodes, 32-bith255and any>= 256are refused). RA still capsAGX3CandAGX3Dat 252 halves (AGX3C_NUM_REGS,AGX3D_NUM_REGSinsrc/asahi/compiler/agx_compiler.h), soh252–h255only appear in unit tests.agx3_funop_encode_source_lifetime()keeps its 128-half limit for fixedAGX3B/AGX3Creplay forms and remaining qualified production forms (texture_gprinsrc/asahi/compiler/agx_register_allocate.c).test-agx3-funop-core.c): This PR's generated encode/decode checks (1,772checks acrossh0–h255) are independent of the pre-existing inherited byte-replay fixtures intest-agx3-funop-core.c.Thanks to
satchljfor the M5 Max (T6050) verification and toRyanTheTidefor theG18Gdrm-shimcomparison andJ700(G17P) verification.Evidence
G18G
drm-shimcompile comparison &J700(G17P) fixture atccad404e0b09(aurora-wip293cc49fc266vsc3573f560627,kits/test/20261130-mesa629-high-unary, 2026-11-29):drm-shimcompile-only:log2andexp2pipelines failed withVK_ERROR_UNKNOWNon trunk and compiled on the candidate; each linked G18G binary contained80target unary instructions, including19with an operand>= h128(maxh164). Clampedrsqrtcompiled on both with no saturation modifier (19high-halfrsqrtinstructions; optimizer keeps the clamp separate); direct synthetic encoder test with even source halvesh128–h254verified the saturation bit and operands on64/64candidate instructions vs0/64on trunk.J700(G17P): both drivers returned all2,560CPU-checked values for each of the three shader workloads with matching maximum absolute errors, boot unchanged, and an empty kernel journal window; candidate also passed the focused funop suite.Exact-head J716c (M5 Max, T6050, 2026-11-28):
libvulkan_asahi.soSHA-2562430fa7d153836a8e5227ab21a10cfdb07d164e922c13704d88266dac524fa06(headccad404e0b09, built as an unmerged exact commit vs46f3a68e60d9in the same native release setup, sharinggit-97742505d8indriverInfo) vs291c55d4954f28aa2fcfc362db21decf1aeb7d0a65ed154c9aba12b047dbe595(aurora-wip46f3a68e60d9); default kernel image SHA-256bf2582ab357573db64031f39e7bc9d617eb574c6b221364ff417810bbddf4c87, default Stage 2 SHA-25621edee972e1ff1718c6f41c32b91ee151afdc58cbb69f16f2f6a4d8d4c722170, AC power. CTS runs usedtools/cts/aurora-cts-ab.py(6 workers, shader cache on, chunk 300, CTS7ba03cdac7ae) with its case-list expansion patched locally to keep onlyTEST:lines (the repository copy mis-parses this CTS build's export); Borealis arms are native release builds on the Mac selected throughVK_DRIVER_FILES.dEQP-VK.glsl.builtin.precision.*(dEQP_VK_glsl_builtin_precision, 664-case J716c selection, chunks of 37): 544 Pass / 120 NotSupported on both arms, 0 diffs; 21 s wall (live non-regression row on unaffectedG17Chardware; does not testG18Ghigh-register encoding).eDP-13456x2234@120 enabled; Apple MTP keyboard, trackpad and SMC lid devices enumerated (not exercised remotely);wlan0connected, 0% loss over 3 pings;AppleJ716card present withspeakerguarddv2 active (no playback in this row); BorealisApple M5 Max (G17C B1)withvkcube --c 240 --wsi waylandclean; 0 failed units (system and user); 0 LSM denials (no SELinux/AppArmor loaded); 0 GPU fault, MMU fault, SError or Oops lines. Redacteddmesgexcerpt (default boot, unchanged by the runs):aurora 2302600000.gpu: GPU firmware: 27.2 (26B123), G17C; 0GPU fault/MMU fault/DeviceLostlines after all runs; theerr+set is the boot's usual 55 lines (apple-dcp ... unable to match service ...andsystemd-gpt-auto-generator), unchanged.Exact-head J713 (
M4 MacBook Air,T8132,G16G B0,AGX3B, 2026-11-28):libvulkan_asahi.soSHA-2562430fa7d153836a8e5227ab21a10cfdb07d164e922c13704d88266dac524fa06(headccad404e0b09) vs291c55d4954f28aa2fcfc362db21decf1aeb7d0a65ed154c9aba12b047dbe595(base46f3a68e60d9), built natively on the aarch64 lab sibling Mac (sharinggit-97742505d8indriverInfo) and selected viaVK_DRIVER_FILESon battery; default Linux 7.3.0 (default J713 7.3.0 kernel) kernel image SHA-256592f7bc8834d8796d5bdb086091e90ac96fc6a17a83769cbadc92b3268604c49, default Stage 2 SHA-2563b2d2f059858d1891b225910864c02d68afb1b42893667e0afa8666491651071.dEQP-VK.glsl.builtin.precision.*(CTS7ba03cdac7ae, 3 workers,aurora-cts-ab1.0, all1,800cases):1,155 Pass / 645 NotSupportedon both arms, 0 diffs (live non-regression row on unaffectedG16Ghardware; the change affectsG18Gcode generation only and this supplies no proof of high-register encoding onG18G).eDP-12560x1664@60 enabled, input enumerated,wlan03/3 gateway ping (0% loss),speakerguardd-v2active with protected-sinksgv2.voicingtone rc 0, BorealisApple M4 (G16G B0)Vulkan 1.4.363 (glmark25,047),0failed units (system and user),0AppArmor denials (no SELinux),4pre-existing baselineerr+boot lines (AFK[ep:20], unsupported DFB layout,apple_sepmatching,brcmfmacring 4). Per-arm Mesavulkaninfo --summary/vkcubesmoke passed with0newdmesgerror lines during this PR's Mesa run window.Exact-head J313 (
M1 MacBook Air,T8103,G13G B1, 2026-12-01): Linux 7.3.0 default boot and command line, AC power, docked to aCalDigit TS5with one external DisplayPort display; default kernel image SHA-256a90adbbad29de949f0a338f6d0626d4dbc7de3d2437989b178de42f5209abb39, default Stage 2 SHA-2561262bc5de585fc57e34c36f10560522d4b231be4f9ac7e45066bc4e364f95484. Cross-built aarch64 release Borealis builds selected per arm throughVK_DRIVER_FILES:libvulkan_asahi.soSHA-2563d2478066c51b9c5ba738cdab0f827c2184d5461acda09942e04981aaf503ac0(aurora-wip8a40c215dec9),0a9730974c84a35a2428c24f2d7aa526db358b7e4cb091de5056e5d82b1c3ea8(exactccad404e0b09),69ebd48ff0227449b92dcaf6a822ddcb716092f375d25a1e97189a559c3b44f0(ccad404e0b09merged onto8a40c215dec9).dEQP-VK.glsl.builtin.precision.*(CTS7ba03cdac7ae,aurora-cts-ab1.0, 2 workers, shader cache on, 664-case selection as onJ716c, 2m29s wall for the three arms):544 Pass / 120 NotSupportedon all three arms, 0 diffs after retry, 0 retries needed, 0 newdmesgGPU error lines per arm (live non-regression row on unaffectedG13Ghardware; it supplies no proof ofG18Ghigh-register encoding).eDP-12560x1600@60 and the dock display (DP-2, 3840x2160@120) enabled; Apple SPI keyboard and trackpads enumerated (not exercised remotely);wlan0and Ethernet connected, gateway ping 3/3 (0% loss); BorealisApple M1 (G13G B1)compute check1,802 runs, 0 wrongand render check0 wrong; no audio playback in this row; 0 failed units (system and user); 0 LSM denials (no SELinux/AppArmor loaded); 0 Oops/BUG/WARN/SError and 0 GPU fault, MMU fault or firmware-timeout lines; theerr+set is the boot's usual 5 lines (apple-dcp ... failed to extract init props,DCPDP2XService admission failed, and twoof_irq_parse_pcilines), unchanged by the runs. Redacteddmesgexcerpt:aurora 206400000.gpu: G13 firmware 27.2 running; DRM device registered.Head & clean merge check: head
ccad404e0b09(comment-only update oned79255b51ed, base1fdf5396758f);git merge-tree --write-tree origin/aurora-wip ccad404e0b09againstaurora-wip8a40c215dec9is clean (d9506a38ae44).Host checks at
ccad404e0b09(-Dgallium-drivers=asahi -Dvulkan-drivers=asahi -Dplatforms=wayland -Dglx=disabled -Dtools=drm-shim -Dbuild-tests=true -Doptimization=2 -Ddebug=false -Db_ndebug=false):meson test -C _build -v agx3_funop_core:1/1 OK(agx3_funop_core: 1772 checks passed): generated encode/decode checks (independent of the pre-existing inherited byte-replay fixtures intest-agx3-funop-core.c) encode even indices0..254for 32-bit forms (f32rintinfloor,ceil, andtruncmodes;f32log2;f32exp2;f32rsqrt;f32sqrtstep— encoder-only, as G18G packer handlesSRSQRTbefore funop dispatch and exits withcontinue) and all indices0..255for 16-bit forms (f32log2,f32exp2,f32rsqrt), decode withagx3d_table, checkfields[2] == dest && fields[18] == src, and verifyh256and 32-bith255refusal. (The current clampedrsqrtcompiler test preserves the clamp separately withsaturate=false.)_build/src/asahi/compiler/agx_tests --gtest_brief=1:1,227passed,1skipped (NativeFMA.ExactDyadicOracle),0failed (1,228tests from93suites).meson test -C _build --suite asahi --suite poly:231/234passed (5/5poly,226/229asahi; the 3 failuresasahi-egl-priority-{deny,allow,once}are pre-existing EGL/GLVND initialization failures on the headless x86 build host).Prior M5 Max (
T6050) hardware check ated79255b51ed(merged ontoaurora-wip00a73680e009,satchlj):meson test --suite asahi --suite poly:295/295OK.MESA_SHADER_CACHE_DISABLE=true):dEQP-VK.glsl.builtin.precision.floor.*8/10Pass (2NotSupported,0Fail),dEQP-VK.glsl.builtin.precision.log2.*8/10Pass (2NotSupported,0Fail),0GPU faults indmesg.Prior pre-rebase verification (
3605daca802onb8762aab):agx3c_tables.txtandagx3d_tables.txtgave byte-identical words.drm-shimreplay (11,388 graphics / 1,919 compute pipelines, with#630applied): G18G failures dropped from 6,584 graphics / 800 compute to 6,579 / 512 (293 pipelines newly created, 0 regressions); G17C, G17P, and G14G created every pipeline with and without this change.