Skip to content

agx: relocate AGX3B 2D_MS and 2D_MS_ARRAY fetch staging banks - #1258

Merged
RyanTheTide merged 4 commits into
aurora-wipfrom
perf/agx3b-relocatable-ms-banks
Nov 28, 2026
Merged

RyanTheTide merged 4 commits into
aurora-wipfrom
perf/agx3b-relocatable-ms-banks

Conversation

@DjDeveloperr

@DjDeveloperr DjDeveloperr commented Nov 27, 2026 •

Copy link
Copy Markdown

What: Allow AGX3B 2D_MS and 2D_MS_ARRAY texel/image fetches to allocate disjoint 8-half sampler staging banks (banks 0..56 across 6 scoreboard slots for 2D_MS, banks 0..24 for 2D_MS_ARRAY), remove the legacy slot-1 pin and forced slot-1 stall, and hoist them ahead of consumers in fragment shaders, matching AGX3C (sibling of #1237).

Details

  • src/asahi/compiler/agx3_tex_core.c:
    • fetch_ok(): accept relocated 8-half aligned banks (<= 56 for 2D_MS, <= 24 for 2D_MS_ARRAY) on AGX3B staged multisample fetches.
    • agx3_tex_encode_fetch(): guard the immediate-sample out[5] & 0x06 check with && !d->staged_sample so relocated f19 bank bits on AGX3B ep3 immediate-texture fetches are not misclassified.
    • agx3_tex_stage_ms_sample_at() and agx3_tex_stage_ms_array_sample_at(): encode AGX3B at arbitrary 8-half banks (KV(5, bank + 4)) and slots 1..6 (KV(12, slot)), matching fixed bank=0, slot=1 bit-for-bit.
  • src/asahi/compiler/agx3_pack_binary.c:
    • staging_slot: let ms_array use slot (1..6) on AGX3B.
    • agx3_ms_banks: allocate disjoint 8-half banks on AGX3B (6 banks for 2D_MS, 4 for 2D_MS_ARRAY).
    • agx3_slot_plan / fetch_wait: remove the AGX3B slot-1 pin and forced outstanding_here & 1u stall on 2D_MS/2D_MS_ARRAY so back-to-back MSAA fetches issue concurrently across distinct scoreboard slots (eliminating 12 -> 0 serializing wait carriers and -12 native instructions / -120 B code size in 4x MSAA deferred lighting fragment shaders across Vulkan and DXVK with zero GPR increase).
  • src/asahi/compiler/agx_pressure_schedule.c:
    • ilp_agx3b_sample_relocatable(): allow AGX_DIM_2D_MS and AGX_DIM_2D_MS_ARRAY on TEXTURE_LOAD/IMAGE_LOAD for fragment sample hoisting.
    • ilp_tile_store_bank_overflows() (merge fix with agx: bound AGX3 ILP schedule by tile-store payload bank #1255): RA places the whole vector of a stored split channel in the tile-store bank (low_gpr / split_source in agx_ra()), so the bank check now also counts a stored channel's parent vector while it is live. Before this, a per-sample reload of an R32 target (channel 0 split from each 8-half 2D_MS texel fetch) counted as 4x2 = 8 halves; RA needed 4x8 = 32 halves of the 16-half bank, so ILP hoisted all four fetches and a payload landed at reg24 ("no grounded AGX3 encoding for st_tile", asahi-g17p-mrt-mixed test_multisample_background_load() under -Db_ndebug=false). Shaders without ST_TILE (normal 4x MSAA deferred fragments) are unaffected.
  • Unit tests (test-agx3-tex-core.c, test-agx3-pack-binary.cpp, test-m5-copy-schedule.cpp): cover bank/slot encoding and rejection bounds, 4-fetch zero-carrier multi-slot bank relocation, non-pinned slot assignment, and fragment hoisting. New BgShaderSchedule.SplitMsR32ReloadKeepsTileStoreBankOnG17P/G16G cover hoisted 2D_MS TEXTURE_LOAD -> SPLIT -> ST_TILE; with the scheduler fix reverted they fail (all 4 fetches hoisted, st_tile source at reg24 and reg16).

Tested:

  • Head ef6a2e39f01 = f03bc80d4fd + forward merge of aurora-wip c9ec6b9774d (includes agx: bound AGX3 ILP schedule by tile-store payload bank #1255, borealis: extend AGX3 root-bypass and fast-path push/descriptor-buffer draw updates #1257; no rebase, no force push) + the bank-check fix.
  • Asserts on (-Db_ndebug=false, clang, fedora x86_64): the unfixed merge 7b1766149a4 reproduces the failure (asahi-g17p-mrt-mixed FAIL at line 1962). With the fix at ef6a2e39f01: full --suite asahi 219/219 pass, 0 fail, including asahi-g17p-mrt-mixed, BgShaderSchedule.* and M5CopySchedule.* (38/38, including Layered8xRgba32ReloadKeepsTileStoreBankOnG17S/G17G and the 2 new tests); 0 warnings in touched files.
  • Fedora Mesa CI (standard, ef6a2e39f01): 219/0.
  • Fedora Mesa CI, head merged onto current aurora-wip a0164c9101c (includes asahi,borealis: speed up cold AGX3/Borealis pipeline compilation #1245's ILP bitset rework of the same file): 219/0 (merge f477411b3af; a first run hit one hk_pack 30 s timeout under load, which also happens on other PRs merged onto this base; the rerun passed all 219 and hk_pack/agx_tests/asahi-g17p-mrt-mixed again with a longer timeout).
  • MacBook Neo (J700, Apple A18 Pro G17P B1, stock 7.3.0-41.fc44.aurora.aarch64, stock.sh PRE=0/POST=0, same boot, 0 new GPU faults/recoveries/AVCs, 0 failed units), exact-head ABBA+BAAB, ef6a2e39f01 vs aurora-wip c9ec6b9774d, 100% exact CRCs across all 11 cases:
    • gpubench-d3d11 render.deferred mode=dram res=1080p msaa=4: 3315.5 -> 3155.8 us (1.051x, +5.1%; settled arms 2..8 non-overlapping: base 3315.2..3318.8 vs cand 3152.8..3159.2, CRC EXACT(7c09507f))
    • gpubench-vk render.deferred mode=dram res=1080p msaa=4: 3261.7 -> 3133.6 us (1.041x, +4.1%; settled arms 2..8 non-overlapping: base 3243.2..3283.1 vs cand 3046.1..3142.3, CRC EXACT(7c09507f))
    • Controls flat: d12_def_dram_m4 +0.1%, vk_def_dram_m1 0.0%, vk_uber_ilp 0.0%, d11_fill_m4 0.0%, d12_fill_m4 0.0%, d11_postfx_m4 +0.2%, d12_postfx_m4 0.0%, vk_postfx_m4 +0.4%, vk_def_tile_m1 +1.9% (overlapping).
    • g17p-vulkan-clear-pass-load: 0/8 frames wrong (2x D32S8 and 1x D32) on base and on cand (x2).
    • Targeted Vulkan CTS on ef6a2e39f01: 333 passed, 0 failed, 4 not supported (texelfetch.* 96/96, robustness2 r32i sampled_image.* 108/108, robustness2 rgba32f sampled_image.* 108/108, image_robustness r32f samples_4.* 12/12, rasterization_order_attachment_access attachments_8_samples_4.* 1/1 + 4 NS (extension not exposed), multiview.renderpass2.multisample_resolve.no_queries.* 8/8).
  • Earlier runs on 0e6f072a12c (vs cb40d4645ab): Fedora CI 218/218; J700 d11 +5.0%, vk +3.1%, same CTS set 333/0.

Risk: two-way · M3, M4, Neo, M5

Not yet: Hardware-measured on M4 (G16G, same AGX3B encoding) or M5 (G17S/G17G, AGX3C path unchanged); full Vulkan CTS run on M4/Neo.

Allow AGX3B 2D_MS and 2D_MS_ARRAY texel/image fetches to allocate disjoint
8-half sampler staging banks (banks 0..56 for 2D_MS across 6 scoreboard
slots, banks 0..24 for 2D_MS_ARRAY) and hoist them ahead of consumers in
fragment shaders, matching AGX3C.

Previously, AGX3B pinned every staged multisample fetch to bank 0 and slot 1,
forcing an outstanding slot-1 stall and emitting serializing wait carriers
between back-to-back MSAA fetches (12 carriers in 4x MSAA deferred lighting
shaders across Vulkan, DXVK, and vkd3d-proton).

Update agx3_tex_core.c (fetch_ok, agx3_tex_stage_ms_sample_at,
agx3_tex_stage_ms_array_sample_at), agx3_pack_binary.c (staging_slot,
agx3_ms_banks, fetch_wait), and agx_pressure_schedule.c
(ilp_agx3b_sample_relocatable), with unit tests covering encoding, bank
relocation, zero-carrier multi-slot packing, and fragment hoisting.

Signed-off-by: DjDeveloperr <hey@djdev.me>
@DjDeveloperr
DjDeveloperr requested review from a team as code owners November 27, 2026 20:31
@RyanTheTide

Copy link
Copy Markdown

0e6f072a12c2 J316s (M1 Pro, T6000, 7.3.0-aurora-fleet89, Clang 23.1.4, -Dbuildtype=release -Db_ndebug=false) FAIL (meson test --suite asahi 214/215): the new AGX_DIM_2D_MS_ARRAY case in M5CopySchedule.AGX3BFragmentImageLoadsHoist aborts in agx_validate() (source 0, expected width 6, got width 4 on texture_load ... 2d_ms_array): emit_frag_samples_and_count() in src/asahi/compiler/test/test-m5-copy-schedule.cpp omits AGX_DIM_2D_MS_ARRAY from its coord_comps ternary, so it falls through to 2 (4 halves) instead of 3 (6 halves). All other 214/215 --suite asahi tests pass; will re-run full Clang assert + multi-gen J700/J615/J316s CTS and J700 render.deferred ABBA+BAAB once updated.

…chedule test

Signed-off-by: DjDeveloperr <hey@djdev.me>
@RyanTheTide

Copy link
Copy Markdown

f03bc80d4fd9 3-gen Borealis PASS (J316s + J615 + J700, Clang 23.1.4 -Dbuildtype=release -Db_ndebug=false, isolated VK_DRIVER_FILES overlay, stock Mesa SHA-256 unchanged on all 3):

  • J316s (G13S C0, 7.3.0-aurora-fleet89): meson test --suite asahi 215/215 PASS (the agx_validate() fix passes M5CopySchedule.AGX3BFragmentImageLoadsHoist, AGX3PackBinary.TextureFetch2DMSRelocatesBanksAcrossSlots, and AGX3PackBinary.TextureFetchRepeatedWaitKeepsCoordinateUntilFinalCopy 3/3 PASS); CTS 148 PASS / 0 FAIL (texelfetch 64/96, robustness2.r32i 36/108, robustness2.rgba32f 36/108, image_robustness.samples_4 4/12, multiview.multisample_resolve 8/8), 0 GPU faults/recoveries, Enforcing, 0 failed, 0 AVC.
  • J615 (G15G C0, 7.3.0-aurora-fleet90-airs2): CTS 220 PASS / 0 FAIL (60/96, 72/108, 72/108, 8/12, 8/8), 0 GPU faults/recoveries, Enforcing, 0 failed, 0 AVC.
  • J700 (G17P B1, 7.3.0-aurora-fleet89): CTS 332 PASS / 0 FAIL (96/96, 108/108, 108/108, 12/12, 8/8); thermally settled ABBA+BAAB gpubench-vk render.deferred mode=dram res=1080p msaa=4 vs cb40d4645ab7 (8/8 exact CRC 7c09507f): us_per_submit 3125.00 -> 3030.41 us (-3.03%, 1.031x, non-overlapping 3125.00..3125.00 vs 3012.05..3048.78), gpu_us 3024.66 -> 2924.34 us (-3.32%, 1.034x, non-overlapping 3011.88..3025.42 vs 2921.71..2926.46), 0 GPU faults/recoveries, Enforcing, 0 failed, 0 AVC.

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: FINISH, then merge at f03bc80d4fd9.
Blocker: Please add a G16G hardware row for the newly enabled AGX3B fetch path. The exact-head J700 result exercises the change on G17P. The J615 and J316s results cover older encodings.
Checked: I checked the bank and slot bounds, reuse and wait logic, and the 2D multisample array fixture correction. The corrected test passes in the assert-enabled suite at this commit. The exact-head J700 comparison shows an improvement with matching CRCs and zero CTS failures.

#1258 (comment)

@AxxzyWasTaken

Copy link
Copy Markdown

Heads-up on a #1255 interaction when rebasing f03bc80d4fd9 onto current aurora-wip (21b6920de40, which now includes #1255 90b270bd544):

Under -Db_ndebug=false, meson test --suite asahi fails asahi-g17p-mrt-mixed in test_multisample_background_load() (src/asahi/lib/tests/test-agx-g17p-mrt-mixed.c:1962):

agx3_pack_binary.c:17046: no grounded AGX3 encoding for st_tile [d0:none0 s0=32:reg24.discard ... mask=0x1 fmt=2]

Why: #1255 replaced ilp_block_has_multi_sample_tile_stores() with ilp_tile_store_bank_overflows() (src/asahi/compiler/agx_pressure_schedule.c:936-949), which only accounts for I->src[0] (agx_index_size_16(I->src[0]) — the 2-half SPLIT output, 4 × 2 = 8 ≤ 16 halves) rather than the parent 8-half TEXTURE_LOAD vector. Once #1258 admits AGX_DIM_2D_MS / AGX_DIM_2D_MS_ARRAY in ilp_agx3b_sample_relocatable(), all 4 unrolled TEXTURE_LOAD vec4s (32 halves) hoist together, bypassing the bank-overflow check so RA places the 4th sample's coalesced ST_TILE payload at reg24 (outside AGX3B's 0..15 bank).

@DjDeveloperr

Copy link
Copy Markdown
Author

J773g PASS at f03bc80d4fd9614c0cfd869916dad21ef3fef84a. On the M4 mini (G16G B0, firmware 26B123, stock kernel 7.3.0-ARCH-m4mainefed1ae3), the comparison used base a58f52b53bb1 and this head. Both were native release builds with assertions enabled (-Db_ndebug=false), selected through VK_DRIVER_FILES.

The 292 targeted 2D_MS and 2D_MS_ARRAY Vulkan CTS cases ran with one worker. Both builds had 40 Pass and 252 NotSupported, with zero failures or crashes.

GPUBench ae90a40, deferred tile rendering at 1080p MSAA4, in base → head → head → base order.

Depth Base Head Head Base
2 (µs/submit) 328.9474 328.9474 328.9474 328.9474
4 (µs/submit) 265.3928 265.6748 265.6748 265.3928

All eight CRCs matched 6dc74b48. The mini finished on the stock kernel with zero GPU faults, recoveries, hang kills or quarantined owners.

Signed-off-by: DjDeveloperr <hey@djdev.me>

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The J773g row closes the G16G coverage request. The reported assert-enabled integration test with #1255 still aborts when the fourth MSAA sample puts an AGX3B ST_TILE payload at reg24. Please update against aurora-wip and account for the parent vector footprint when deciding which sample loads may move. Include a regression that exercises the four-sample hoist with the split texture-load payloads, and rerun asahi-g17p-mrt-mixed and the Asahi suite on the integrated head. Reproducer and analysis are in #1258 (comment).

On AGX3, RA places the whole vector of a stored split channel in the
tile-store bank: a split channel takes its vector's register (low_gpr in
agx_ra()). A per-sample reload of an R32 target stores channel 0 of each
eight-half 2D_MS texel fetch, so ilp_tile_store_bank_overflows() saw
four two-half payloads (8 halves) where RA needs four eight-half vectors
(32 halves) of the 16-half bank.

With 2D_MS fetches now relocatable, ILP hoisted all four fetches ahead of
the first ST_TILE, pushing a payload to reg24 and aborting the compile
in agx3_pack_binary ("no grounded AGX3 encoding for st_tile") in
asahi-g17p-mrt-mixed test_multisample_background_load() under
-Db_ndebug=false.

Mirror RA's rule: also count a stored channel's parent vector while it
is live. Shaders without ST_TILE (normal deferred MSAA fragments) are
unaffected.

Signed-off-by: DjDeveloperr <hey@djdev.me>

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new check includes the SPLIT parent vector in the low-bank estimate, and the two fixtures directly exercise four R32 MSAA fetches through the scheduler and register allocator. Please post the assert-enabled integrated results for both new fixtures, asahi-g17p-mrt-mixed and the Asahi suite at this head. The prior J773g result predates the scheduler fix.

@DjDeveloperr

Copy link
Copy Markdown
Author

J773g (Mac mini M4, T8132 / G16G B0, firmware 26B123) exact-head row at ef6a2e39f01bca395210c4b1619a38383cd903b0 vs aurora-wip c9ec6b9774db: PASS (0 head-only regressions, 0 GPU faults).

Native build on J773g; stock 7.3.0-ARCH-m4mainefed1ae3 with SLC enabled (apple-mcc on 2 planes), gpubench-vk ae90a40, display-manager stopped during timed runs.

Timed ABBA (A1 / B1 / B2 / A2, 20/20 rows, all CRCs matched)

Row A1 (c9ec6b97) B1 (ef6a2e39) B2 (ef6a2e39) A2 (c9ec6b97) Latency Δ (B1/A1, B2/A2) CRC
render.deferred dram msaa4 1080p d=1 1785.7 µs 1689.2 µs 1712.3 µs 1785.7 µs −5.41% / −4.11% 7c09507f
render.deferred dram msaa4 1080p d=2 1412.4 µs 1315.8 µs 1315.8 µs 1412.4 µs −6.84% / −6.84% 7c09507f
render.deferred tile msaa4 1080p d=1 581.4 µs 577.4 µs 577.4 µs 576.0 µs −0.69% / +0.23% 6dc74b48
render.deferred tile msaa4 1080p d=2 329.4 µs 329.4 µs 329.4 µs 329.4 µs 0.00% / 0.00% 6dc74b48
render.postfx msaa4 1080p d=2 724.6 µs 726.7 µs 728.9 µs 724.6 µs +0.29% / +0.58% 668d6f0a

Vulkan CTS (--jobs 1, 500/500 cases on both arms)

  • Both c9ec6b9774db (base) and ef6a2e39f01b (head): 92 Pass, 406 NotSupported, 2 Crash — 0 head-only failures or crashes.
  • Both arms hit the exact same 2 pre-existing base cases (shader_object_unlinked_spirv.multisample.m10_resolve.resolve_cmd.b8g8r8a8_unorm.color.average.region.no_flags and .d16_unorm_s8_uint.stencil.max.regions_multilayer_rem.no_flags).

Health

  • 0 GPU faults, 0 recoveries, 0 hang kills, 0 quarantined owners, 0 failed units.

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reported assert-enabled integrated run reproduces asahi-g17p-mrt-mixed on the unfixed merge and passes the full 219-test Asahi suite with the SPLIT parent-vector fix, including the new bank fixtures. The newer-base integration passed on rerun. J773g exact-head ABBA has matching CRCs and no head-only CTS failures or crashes; the two crashes match baseline. This clears my integration blocker. Code approved at this commit. Record any remaining current-head peer coverage in the landing decision.

@DjDeveloperr

Copy link
Copy Markdown
Author

Second-generation non-regression row on J714s (M5 Pro, G17S), kernel 7.3.0-m5-cdirect16, SLC on (the boot gate passed). Head ef6a2e39f01b and its base c9ec6b9774db were both fetched exactly and built warm on the M5:

  • GCC release --suite asahi: base 337/337, head 337/337.
  • Clang assert (-Db_ndebug=false) --suite asahi at head: 334/334. BgShaderSchedule.* and M5CopySchedule.*: 38/38, including Layered8xRgba32ReloadKeepsTileStoreBankOnG17S and the two new tests.
  • agx: #1190 ILP interleave overflows tile-store payload bank on M5 layered 8x RGBA32 reload shaders #1253 repro (dEQP-VK.api.image_clearing.core.clear_color_attachment.multiple_layers.r32g32b32a32_{sfloat,sint,uint}_64x11_sample_count_8): 3/3 pass in each of three separate runs.
  • VK CTS, 2,499 cases (all clear_color_attachment.multiple_layers, 300 resolve_image r32g32b32a32 cases, and every fourth renderpass{,2}.suballocation.multisample case): 1,243 pass, 1,256 skip, 0 fail.
  • gpubench-vk ABBA, base vs head, with identical CRCs:
    • render.deferred (tile, 1080p, msaa=4): 157.0 vs 156.9 us GPU.
    • render.postfx (1080p, msaa=4): 150.2 vs 150.2 us.
  • GTA V Enhanced pipeline statistics (26,375 executables compiled for G17S on the M5): identical between base and head in instructions, GPRs, spills, fills and scratch. The AGX3C path is unchanged, as the description says.
  • Clang -Werror on the changed objects: agx3_tex_core.c, agx_pressure_schedule.c and the test are clean. agx3_pack_binary.c stops only on a -Wconstant-conversion at line 10505 (coverage = BITFIELD_MASK(samples), from 2dbe3e9), which the base already has.
  • 0 GPU faults, 0 kernel errors.

@RyanTheTide

Copy link
Copy Markdown

Merge-train note: App approval at ef6a2e39f01b and the exact-head rows are in. I plan to land this no earlier than 06:29Z, after the combined A/B regression row (M1 Pro G13S + M4 G16G). If you'd rather merge it yourself or hold it, say so here.

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MERGE at ef6a2e39f01bca395210c4b1619a38383cd903b0

Blockers: none

Checked: I read the whole diff against the merge base c9ec6b9774db, using the same checks as the #1237 review.

  • Encoding: at bank 0 / slot 1 the new AGX3B paths of agx3_tex_stage_ms_sample_at() and agx3_tex_stage_ms_array_sample_at() produce the same fields as the fixed encoders they replace. KV(56)/KV(57) are moved to the tail and dropped on AGX3B, and the test compares the bytes.
  • Bounds on AGX3B: bank 8-aligned and at most 56 (2D_MS) or 24 (2D_MS_ARRAY), slot 1..6, wait mask 0x3f. packed_layer keeps the old limit of 190. fetch_ok() and the ms_banks counts agree with these limits.
  • Sample operand: the immediate-sample out[5] & 0x06 check now only applies to non-staged fetches. The dynamic sample (third coordinate) still goes through the integer PACK_SMPIR operand at the relocated bank. For 2D_MS_ARRAY, the layer and sample packing still goes through ms_array_scratch. That pack has no scoreboard slot, the same shape AGX3C already uses with distinct slots.
  • Waits: staging and the fetch now share slot, and the fetch waits on 1 << (staging_slot - 1). With that wait in place, dropping the AGX3B slot-1 pin and the outstanding_here & 1 stall is sound. The AGX3D stall is unchanged, and AGX3C is unchanged.
  • Gating: the change is keyed on the ISA encoding (AGX3B/AGX3C), not on chip or board, so there is no NO-GATES problem.
  • ILP: the split-parent accounting in ilp_tile_store_bank_overflows() mirrors RA's low_gpr rule. The scratch array is freed on every path.

Local x86 drm-shim gate, meson test --suite asahi --suite poly with asserts on:

  • Head merged into current aurora-wip 73bfd33b46e9 (clean merge): 342/342.
  • aurora-wip alone: 342/342.

Tests against the change:

  • With the three compiler sources reverted and the new tests kept, agx3_tex_core fails, and so do AGX3PackBinary.TextureFetch2DMSRelocatesBanksAcrossSlots, AGX3PackBinary.TextureFetchRepeatedWaitKeepsCoordinateUntilFinalCopy and M5CopySchedule.AGX3BFragmentImageLoadsHoist.
  • With only the split-parent hunk reverted, BgShaderSchedule.SplitMsR32ReloadKeepsTileStoreBankOnG16G, ...OnG17P and asahi-g17p-mrt-mixed fail.

Rows at this exact head cover both AGX3B generations: J700 G17P (description: CTS 333/0, render.deferred msaa4 +4..5 %, exact CRCs) and J773g G16G (ABBA with matching CRCs, no head-only CTS failures). J714s G17S is a non-regression check on the unchanged AGX3C path. AGX2 code is not touched.

Non-blocking nit: no unit test pins the fetch_ok() rejection of coord 64 (2D_MS) or 32 (2D_MS_ARRAY) on AGX3B, or packed_layer > 190 on the relocatable array publisher. The limits are correct; a test would only lock them in.

Evidence
  • merge tree: aurora-wip 73bfd33 + ef6a2e3 -> tree 790b52a0ca48, no conflicts
  • gate merged: Ok 342, Fail 0
  • gate tip: Ok 342, Fail 0
  • mutant (3 sources at tip, tests kept): Fail 2 (agx3_tex_core; agx_tests: 3 tests listed above)
  • mutant (split_parent hunk reverted): Fail 2 (asahi-g17p-mrt-mixed; agx_tests: BgShaderSchedule.SplitMsR32ReloadKeepsTileStoreBankOn{G16G,G17P})

@RyanTheTide

Copy link
Copy Markdown

Merge-train landing at ef6a2e39f01b.

  • Review: RyanTheTide review-lane APPROVE + aurora-silicon-review App APPROVE at this head (REVIEW6), J714s peer row 334/334 asserts + 1,243 CTS 0 fail (non-author).
  • Feature row: the author's exact-head hardware row on this PR.
  • Regression: combined A/B overlay of aurora-wip plus this PR and the other queued PRs, user space, default kernel command line. M1 Pro (G13S, fleet89): 0 status changes. M4 Pro (G16S, fleet89): 0 regressions. The only flips there are 5 synchronization multi_queue timeouts under 4-job load; all 5 pass 3/3 alone on both arms, and the base arm shows the same flake. Each Mac ran 26,595 dEQP-VK + 8,153 dEQP-GLES cases, with 0 GPU firmware crashes, Enforcing, 0 failed units. Evidence traces/gpu/20261128-mergetrain-mesa.

Revert: git revert -m 1 <merge commit> on aurora-wip. A regression gets reverted first and fixed after.

@RyanTheTide
RyanTheTide merged commit 3e70c95 into aurora-wip Nov 28, 2026
@RyanTheTide
RyanTheTide deleted the perf/agx3b-relocatable-ms-banks branch November 28, 2026 06:31
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.

3 participants