Skip to content

drm/asahi: g16: drop the M4 TA wave window - #3185

Merged
RyanTheTide merged 4 commits into
mainfrom
fix/g16-m4-no-ta-wave
Nov 29, 2026
Merged

RyanTheTide merged 4 commits into
mainfrom
fix/g16-m4-no-ta-wave

Conversation

@DjDeveloperr

@DjDeveloperr DjDeveloperr commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

What: On M4 the g16 TA wave window held ready render passes until earlier passes finished TA. The firmware never lets TA run more than one pass ahead of FS, so the window only split frames into many small submit records. Several M4 render rows lost GPU time at those record boundaries. This removes the window. It also publishes the first pass of a job by itself when the GPU is idle, because the firmware starts long records late on an idle GPU.

Tested: J773g M4 mini at c7cf6c26: render.postfx d=2 +6 to 9 %, d=1 +3 to 20 %, compress.bw +8 to 17 %, render.light d=64 +17 %; full gpubench-vk 202/202 ok with 84/84 CRCs, geomean against Metal 4 1.198x to 1.202x; Vulkan CTS subset of 13,810 cases with one failure, an intermittent implicit-sync case that origin/main fails too; s2idle and post-wake rows pass; 0 GPU faults or recoveries.

Risk: two-way · M3 and M4 Macs that run the g16 backend (T8122, T6030, T8132, T6040, T6041)

Not yet: rows on M4 Pro/Max (T6040, T6041) and on the M3 chips that share this backend (T8122, T6030). Two firmware stalls remain for follow-ups: some record switches still idle the GPU about 190 us, and an idle GPU starts freshly kicked work 90 to 180 us late.

Details

What the firmware does. I measured this with a tracing build, not part of this PR, that records the firmware's per-pass TA and FS start and end stamps alongside the host's publications, holds and retirements. On J773g, the TA of a pipelined pass starts only after the FS of the pass before it has started. In render.postfx 1080p MSAA4, 312 of the 601 TA starts that waited began within 10 us of FS(N-1) starting. At 85 % of TA starts, at most one earlier pass had a started TA and an unfinished FS.

Why the window hurt. ta_pending_passes() counted passes whose TA had not finished, and the window held further renders at 4 (multi-layer or large tilemap) or 8. Those passes were waiting behind FS, not loading the tiler. Holding them only split each frame into separate publications: about six per render.postfx frame (1.75 passes each), about four per compress.bw job. Every publication starts a new submit record, and at about a third of record boundaries the GPU sat idle for about 190 us. With the window gone, render.postfx publishes one record per frame. Its ta_wave holds drop from 19,041 to 0 per run, and the GPU time of one submit drops from 643 to 420 us (Metal 4: 395 us).

Commit 1 removes the window and everything built on it: the heavy/light pass classification, the hysteresis that woke paused renders on TA progress, the per-wave doorbell flush, and the compute bypass of TA-paused renders. Render publication stays bounded by render_flights(), the retained pass slots and the TA/FS ring headroom. The hold_causes line in debugfs loses its ta_wave key. Net -250 lines.

Commit 2 updates the asahi-m4 host selftests that stubbed or extracted the removed code. One new test checks that a render keeps queueing behind 4, 8, 16 and 46 unfinished TA passes without reading the TA stamp, and stops at the render flight bound.

Commit 3. On an idle GPU the firmware starts a record later the more passes it holds: about 216 us from doorbell to first TA for an 11-pass render.postfx frame, against about 170 us for an 8-pass record. After commit 1 a lone multi-pass frame paid that on every submit (render.postfx 1080p MSAA4 d=1: 799 to 877 us). When the engine is idle, the first pass of a job now goes out as a record of its own, and the rest follows right behind it. Work published behind in-flight jobs is batched as before. A one-pass first record measured the same as two or four passes, so the code has no tuning constant.

What this does not fix. The record-switch stall still happens on some boundaries. Extra doorbells made it worse, and none of the barrier variants I tried (hold-type barriers, an always-on FS-to-FS barrier, no TA-to-TA barrier) changed it, so it is firmware-side. An idle GPU also starts a freshly kicked burst 90 to 180 us after the doorbell (render.mdi). The compute-to-render handoff inside that burst takes 13 to 27 us.

Evidence

Kits were built natively on J773g:

  • origin/main 89542c560bf22: release 7.3.0-ARCH-m4kpmain-89542c56, aurora.ko build id 1c6c6b73…
  • this branch c7cf6c261bfd1: release 7.3.0-ARCH-m4kpfix3-c7cf6c26, aurora.ko build id 8a014071…

Both used Mesa main at 15c5bb524162 and gpubench-vk 13. Each value is the median of 6 passes, in us per submit. origin/main was measured in two sessions run in opposite order; same-kernel drift between sessions was 0.5 to 4.6 %.

row origin/main this branch change Metal 4 vs Metal before -> after
render.postfx 1080p MSAA4 d=1 798.9 775.2 +3.1 % 793.7 0.993 -> 1.024
render.postfx 1080p MSAA4 d=2 736.2 / 734.4 685.7 +7.2 % 520.8 0.708 -> 0.760
render.postfx 1440p MSAA1 d=1 985.2 818.6 +20.4 % 899.3 0.913 -> 1.099
render.postfx 1440p MSAA1 d=2 767.3 / 764.3 705.1 +8.6 % 625.0 0.816 -> 0.886
render.postfx 1440p MSAA4 d=2 775.2 729.9 +6.2 % 646.0 0.833 -> 0.885
compress.bw array 1440p d=1 611.6 521.7 +17.2 % 572.1 0.935 -> 1.096
compress.bw array 1440p d=4 457.3 / 456.6 422.8 +8.1 % 336.5 0.736 -> 0.796
render.light tri d=32 59.1 54.5 +8.4 % 46.0 0.778 -> 0.843
render.light tri d=64 60.3 / 60.4 51.4 +17.4 % 45.0 0.745 -> 0.875
render.mdi 1024/256 d=4 129.5 130.0 -0.4 % 86.3 0.666 -> 0.664
render.deferred tile MSAA4 d=2 329.9 328.4 +0.4 % 255.1 0.773 -> 0.777
overlap.passes render_render (ratio) 1.10 1.11 +0.3 % 1.37 0.804 -> 0.807
compute.light queue d=16 28.3 / 28.5 28.7 -1 % (drift) 23.9 0.84 -> 0.83
sync.signal queue timeline 30.9 / 31.0 31.5 -2 % (drift) 25.3 0.82 -> 0.80

compute.light and sync.signal read 1 to 2 % slower in this session. An unchanged kernel varied 0.5 to 4.6 % between sessions on the same rows: commit 1 measured 31.47 us on sync.signal in one session and 30.17 us in the other. No commit here changes the compute path.

Full gpubench-vk suite, one pass per row: 202/202 ok and 84/84 CRCs valid on both kernels. The geomean against Metal 4 goes from 1.1977x (127 of 202 rows ahead) to 1.2023x (133 ahead). This branch over origin/main is 1.0083x. Rows that moved more than 5 % in that single pass:

  • render.light clear d=8: -9.5 %. A 6-pass recheck of commit 1 alone showed noise (37.37 vs 37.21 us); not rechecked at this head.
  • query timestamp d=1: -9 %. The 6-pass recheck of commit 1 alone showed -2.7 %.
  • transfer.ops clear_16m d=1: -6 %, not rechecked.
  • render.shadow d16 d=1: +8.6 %.
  • compile.pso: CPU shader compile, not this code.

Lone-frame breakdown, from traces with the window as on origin/main versus with no window: the frame's GPU time drops from 547 to 388 us. The idle gap between frames rises because an 11-pass record starts about 46 us later on an idle GPU and its completion becomes visible about 85 us later. Commit 3 removes most of the start delay. Measured against commit 2 in one boot, with arms in mirrored order and 6 passes each:

row commit 2 first pass alone (commit 3)
render.postfx 1080p MSAA4 d=1 885.0 760.5
render.postfx 1440p MSAA4 d=1 955.4 818.6
render.postfx 1080p MSAA4 d=2 685.7 687.3
render.light tri d=64 51.5 51.4
render.deferred tile MSAA1 d=1 485.1 486.2

Safety on J773g at this head:

  • Vulkan CTS (--jobs 1, 13,810 cases): Pass 9,638, NotSupported 4,171, Fail 1. The list covered memory.pipeline_barrier, the synchronization and synchronization2 basic/smoke/implicit/none_stage/layout_transition groups, compute.pipeline.indirect_dispatch and draw.renderpass.indirect_draw in full, plus samples of timeline_semaphore, op.single_queue, multisample, renderpasses, draw and compute.
  • The one failure: synchronization.implicit.timeline_semaphore.write_ssbo_vertex_read_ssbo_vertex.buffer_16384.3303 ("Memory contents don't match"). It is pre-existing. Running all 1,024 implicit-sync cases ten times on each kernel gave one failure each on origin/main, on commits 1-2 and on this head, all in the same case of that family: synchronization2.implicit.binary_semaphore.write_ssbo_vertex_read_ssbo_vertex.buffer_16384.3122.
  • s2idle (rtcwake -d /dev/rtc1 -m freeze -s 10): woke, suspend_stats success 1 / fail 0, no error lines in the kernel log delta. Post-wake render.light, compute.light, render.postfx, compress.bw and render.mdi rows: 7/7 ok with valid CRCs.
  • Kernel log: no GPU recovery, fault bank, WARNING, BUG, Oops or SError lines. aurora-g16 stats: health failed 0 errno 0, recoveries 0, hang_kills 0, no quarantined owners.

Static checks:

  • checkpatch.pl --strict: 0/0/0 on all three commits.
  • The aurora module builds with no new warnings.
  • Run one by one, these asahi-m4 selftests pass: test-publication (82), test-poll-retire (43), test-command-stream (28), test-resources (73), test-timestamps (14) and test-vm.

Stand-in note: There is no T8122 in this lab. The exact-head J516s (M3 Pro, T6030/G15S) row at 068d90e (#3185 (comment)) exercises the same M3/G15 g16 shared backend and stands in for T8122 per policy/merge-policy.md §3 (co-Owner signed off; open to a T8122 owner regression check).

Aurora Agents T8122 owner regression request filed (ID b32b2cf4-1160-4a54-b362-ae1f69776b56, key linux3185-t8122-g16-068d90ee2055).

The TA wave window held a ready render pass behind the in-flight work
whenever four (multi-layer or large tilemap) or eight passes had not
finished TA. It assumed the M4 firmware lets TA run that far ahead of FS.

It does not. Per-pass firmware stage timestamps on J773g show that the
TA of a pipelined pass starts only once the fragment stage of the pass
before it has started: in render.postfx 1080p MSAA4, 312 of the 601 TA
starts that waited began within 10 us of FS(N-1) starting, and the
TA-to-FS lead never exceeds about one pass. So ta_pending_passes()
counted passes queued behind the fragment front, not passes loading the
tiler, and the window only held work the GPU could have started.

The hold split every render.postfx frame into about six publications
of 1.75 passes and every compress.bw job into about four. Each
publication starts a new submit record, and at about a third of those
boundaries the GPU sits idle for about 190 us before the firmware
starts the next record. With the window at the render flight bound,
render.postfx publishes one record per frame, its ta_wave holds drop
from 19,041 to 0 per run, and the GPU time of one submit drops from
643 to 420 us.

Remove the window, its heavy/light pass classification, the hysteresis
that woke paused renders on TA progress, the per-wave doorbell flush and
the compute bypass of TA-paused renders. Render publication stays
bounded by render_flights(), the retained pass slots and TA/FS ring
headroom. The hold_causes line loses its ta_wave key.

On J773g against origin/main (medians of 6 passes, averaged over two
sessions run in opposite order where both have the row): render.postfx
1080p MSAA4 d=2 735 -> 681 us, 1440p MSAA1 d=2 766 -> 703 us, 1440p
MSAA4 d=2 775 -> 728 us, compress.bw array d=4 457 -> 422 us,
render.light d=32 59.1 -> 54.5 us and d=64 60.4 -> 51.5 us.
render.mdi, compute.light and sync.signal do not change. A lone
render.postfx 1080p MSAA4 frame (d=1) gets 9 % slower, 799 -> 877 us:
its GPU time drops from 547 to 388 us, but the firmware takes longer to
start and to complete one 11-pass record on an idle GPU than the 8-pass
record that the window used to publish.

Signed-off-by: Diljit Singh <[email protected]>
The publication, poll and command stream harnesses stubbed or extracted
the TA wave window, its heavy/light classification and the TA-progress
wakeup that the engine no longer has.

Drop the tests that only exercised that pacing (the per-wave doorbell
flush, the hoisted pending-TA read, the compute bypass of TA-paused
renders and the TA-only interrupt hysteresis) and the ta_wave hold
cause case. Replace the pending-TA test with one that checks that a
render keeps queueing behind 4, 8, 16 and 46 unfinished TA passes
without reading the TA stamp, and stops at the render flight bound.

Signed-off-by: Diljit Singh <[email protected]>
On an idle GPU the M4 firmware takes longer to start a render record
the more passes it holds: a lone render.postfx frame published as one
11-pass record starts its first TA about 216 us after the doorbell,
against about 170 us for the 8-pass record that the TA wave window used
to publish. Since that window is gone, a lone multi-pass frame pays
this on every submit, and render.postfx 1080p MSAA4 at d=1 went from
799 to 877 us although its GPU time dropped.

When the engine is idle, publish the first pass of the job as a record
of its own. The rest of the job follows right behind it in the next
record, which the firmware takes up while the first pass runs. Render
jobs published behind in-flight work are batched as before.

On J773g against the previous commit (medians of 6 passes, arms in
mirrored order in one boot): render.postfx 1080p MSAA4 d=1 885 -> 761
us and 1440p MSAA4 d=1 955 -> 819 us. render.postfx 1080p MSAA4 d=2
(686 -> 687 us), render.light d=64 (51.5 -> 51.4 us) and
render.deferred tile d=1 (485 -> 486 us) do not change.

Signed-off-by: Diljit Singh <[email protected]>
@DjDeveloperr
DjDeveloperr requested review from a team as code owners November 26, 2026 03:25
@github-actions github-actions Bot added area:gpu Area from CODEOWNERS (bot) blast:m3 Macs affected, from Merge risk (bot) blast:m4 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 26, 2026
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Merge readiness at 068d90ee: not ready yet

Check Detail
CI at head ok 20 checks passed
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head ok in the PR body at 068d90ee
Conflicts ok none
PR text ok Risk: two-way · M3 and M4 Macs that run the g16 backend (T8122, T6030, T8132, T6040, T6041)

Areas: area:gpu

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@RyanTheTide

Copy link
Copy Markdown
Contributor

c7cf6c261bfd (merged cleanly onto main 61c7b88aca91 with 0 merge-tree diffs, default cmdline) J616s (M4 Pro, T6040, G16S B1) PASS: 6-worker CTS over dEQP-VK.synchronization* + dEQP-VK.renderpass* + dEQP-VK.draw.* (900 s run): 90,452 Pass / 0 Fail / 81,840 NotSupported across 4 completed shards (all of renderpass* + draw.* + 61k+ synchronization*) plus ~39k synchronization* cases executed on the remaining 2 shards before the 15-min cap with 0 Fail lines across all 6 shards; Borealis VK api.smoke 8/8 and Asahi GL 32/32 PASS both pre- and post-rtc1 s2idle (1/1); 0 GPU faults/recoveries, 0 new kernel errors, 0 failed units, Enforcing, 0 AVC; stock 7.3.0-aurora-fleet89 restored and verified.

@DjDeveloperr

Copy link
Copy Markdown
Contributor Author

Verdict at c7cf6c261bfd: ready

Blockers: none.

Checked:

  • Nothing left depends on the window. Nothing in the tree refers to it any more.
    • The TA/FS ring barriers are untouched.
    • The threshold[0]-with-threshold[8] advance, which fixed the TA_STAMP fail-stop, is still there (engine.rs:3255).
    • Per-pass TA/FS stamps are still recorded.
    • The render deadline renews on TA/FS stamp progress and on every retirement (poll.rs:1666, poll.rs:1837-1846), so longer records don't trip the 5 s deadline.
    • HoldCause and its names stay in step (7 each).
  • The bounds still hold without it. A flight can now carry up to render_flights() = 47 passes, and the per-flight arrays are RENDER_SLOTS = 48 wide. picked is now RENDER_SLOTS wide (engine.rs:3100), and n2 <= more_renders <= 47 (engine.rs:3071), so the index stays in range. The ring headroom checks (engine.rs:2972, engine.rs:3095) still run for every member.
  • Idle detection. behind (engine.rs:2580) is "no flight of either class", read under the device lock. On an idle engine only the first pass goes out. The rest of the job stays pending, so the same publish pass picks it again and queues it behind its own flight through the usual can_queue_behind checks (dependencies, PB pipelining, slot room).
    • A job split across records already happens whenever a fold stops early, and the existing stamp waits order the records.
    • If the GPU is busy after all, or the rest can't queue behind, the cost is an extra record or a wait for retirement, never a wrong order.
    • Per-queue FIFO is kept (engine.rs:1098 plus the earlier-pending check). The busy-coalesce hold runs before the pass, so it doesn't delay the rest. This backend has no host-driven preemption.
  • Failure paths. A publication that fails before visibility releases its claims as before. Doorbells are still rung at the end of the pass (engine.rs:1309) and on the timeout path (engine.rs:1272). Dropping the mid-pass "wave full" ring only moves those rings to the end of the same pass.
  • M3. T6030 and T8122 run this code, with no SoC check. The window came in before M3 joined this backend, so M3 has only ever run with it, and the firmware behaviour this PR builds on was measured on J773g. Rows so far: J773g and J616s, both M4. Nothing in what remains is M4-specific, but only an M3 row (J516s) can show the change holds there.
  • No runtime switch. Three constants are removed and none is added.
  • Minor, not blocking. Commit 3's idle one-pass rule has no host test of its own. A test-publication.py case checking that an idle engine publishes one pass would pin it. Nothing in the tree reads the ta_wave key that the debugfs hold_causes line drops.
  • Merge order. This PR and drm/asahi: g16: keep renders of a multisampling VM apart from other VMs #3180 conflict in g16/command.rs, g16/engine.rs and test-publication.py, so whichever lands second needs a rebase and a fresh row.
Evidence
  • Head c7cf6c261bfd (3 commits) over main 89542c560bf2. It merges cleanly into current main 40e5e29cc915; merged with drm/asahi: g16: keep renders of a multisampling VM apart from other VMs #3180 it conflicts in the three files above.
  • Read: the whole diff, plus g16/engine.rs (publish loop, can_queue_behind, needs_engine_drain, publish_prefix_body folds and prologue, can_defer_busy_coalesce), g16/poll.rs (submit_locked rearm, poll_step publish and repoll conditions, deadline renewal), g16/hw.rs (RENDER_SLOTS, FLIGHTS, ring caps), g16/params.rs (render_flights), and the history of the window (it was added 11-22 to 11-24 as pacing; the threshold[0] fix from the same series is kept).
  • Build at this head, asahi profile, Image modules, LLVM=1, native arm64: OK, aurora.ko linked. No new warning: the g16 ones (fetch_update deprecated in vm.rs, unused check_render in command.rs, unused retired* in poll.rs) are already on the base and on lines this PR does not change.
  • KUnit, drivers/gpu/drm/asahi/.kunitconfig on arm64 QEMU: 419 tests, 415 passed, 4 skipped (config or board-image cases), 0 failed.
  • Host selftests, run-host-tests.py --only asahi-m4 at this head: 26/26 files pass; test-publication 82, test-poll-retire 43 and test-command-stream 28 passed.
  • CI at this head: all checks pass (apple-build, host-tests, KUnit asahi and the other KUnit suites).

@DjDeveloperr

Copy link
Copy Markdown
Contributor Author

J516s (MacBook Pro 16" M3 Pro, G15S) row at ef4979c9839a, this PR's commits rebased with #3180 onto main 2094ccb2. That is not the current head c7cf6c261bfd. One-shot boot of that exact commit, default cmdline, its own DTB in Stage 2:

  • GPU health: 0 GPU faults, 0 recoveries or hang kills, no completion-stamp lines, 0 failed units, and no new kernel errors beyond this Mac's per-boot MTP HID line.
  • gpubench-vk (aurora-wip 69179743d9ae, 2 passes): render.light procs d4 63.2 µs, d16 45.0 µs; render.light queue d4 51.2 µs; render.postfx 1440p procs d2 1,236 µs, d4 1,286 µs.
  • CTS:
  • Suspend: s2idle is refused at prepare on this Mac (pre-existing on main), so no sleep was tested.
  • Restored to stock.

@DjDeveloperr

Copy link
Copy Markdown
Contributor Author

J773g (Mac mini M4, G16G, firmware 26B123) row at the current head 068d90ee2055: this branch merged with main 32a55ec3e9bb. It used a one-shot boot of that exact commit with the default cmdline, and Mesa 15c5bb524162 as a Vulkan-only overlay.

  • Health: 0 GPU faults, 0 recoveries, 0 hang kills, and health was clean before and after.
  • gpubench rows: render.postfx, render.bindless_ubo, render.mdi, render.light and compress.bw. Every row finished with status ok. The four rows that check a CRC (all but render.light) matched it.
  • Stress: concurrent.cr ×10, compute.light with sync.signal ×5, and multi-process render.light ×10. No hang and no fault.
  • CTS subset (13,810 cases, 1 worker): 9,638 pass, 4,171 not supported and 1 fail: dEQP-VK.pipeline.monolithic.multisample.misc.multi_renderpass.r8g8b8a8_unorm_r16g16b16a16_sfloat_r16g16b16a16_sint_d32_sfloat_s8_uint.random_111. 20 pixels in colour attachment 2 were wrong.
  • Implicit sync: 1,024 of 1,024 pass.
  • s2idle: one cycle, which woke after 14 s with no errors. After the wake, render.mdi still matched its CRC.

The one fail is not from this PR. I ran that case 30 times per kernel and Mesa build: 20 times on its own and 10 times among its neighbours from the CTS run. The builds were interleaved run by run, two boots in one session, with no GPU faults in either:

Kernel Mesa 15c5bb524162 (the row's) Mesa 90211df6816 (aurora-wip) 90211df6816 + reload-order fix cd74ddd46542
this branch 068d90ee 4 of 30 fail 0 of 30 0 of 30
main 32a55ec3 1 of 30 fail not run 0 of 30

@DjDeveloperr

Copy link
Copy Markdown
Contributor Author

J516s (MacBook Pro 16" M3 Pro, G15S) row at 068d90ee2055: no regressions. multi_queue under 3 workers shows the known #3201 failures, which #3353 fixes. One-shot boot of the exact head on the default cmdline; build ID 7.3.0-m3-maint-g068d90ee2055. Mesa: aurora-wip 69179743d9ae, an isolated kit.

  • gpubench-vk, at parity with the ef4979c9 row from 11-26 (median µs per submission, ef4979c9 → this head):
    • render.light tri: procs d4 63.2 → 63.5, procs d16 45.0 → 45.2, queue d4 51.2 → 51.8;
    • render.postfx 1440p msaa1: procs d2 1,237 → 1,238, procs d4 1,286 → 1,286; queue d1/d2 at this head 1,726/1,262.
  • CTS, multi_queue: 900 sampled synchronization{,2}.op.multi_queue cases split across 3 deqp-vk processes: 728 Pass, 168 NotSupported, 4 Fail.
  • CTS, cross_instance: 300 cases, 100 Pass, 200 NotSupported.
  • CTS, sync subset: 671 cases in one process (basic, smoke, timeline_semaphore, op.single_queue, signal_order and implicit, for sync and sync2): 599 Pass, 72 NotSupported, 0 Fail.
  • Suspend: s2idle is refused at prepare, as on main (dwc3-apple … genpd_prepare returns -11), so no sleep was tested.
  • 0 GPU faults, 0 recoveries or hang kills, 0 "no completion-stamp progress" lines, 0 failed units, and no new kernel errors beyond this Mac's per-boot MTP HID line.
  • Clean reboot to stock, verified.

@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: MERGE at 068d90ee2055f335119eb3d23ba4d15a8e4702c9 once the remaining shared-path hardware evidence is complete.

Blockers: No code blocker found. Keep the PR unarmed pending a T8122 run on the shared backend or a documented stand-in with an owner regression request.

Checked: Followed the removal through render admission, same-submit and cross-job folding, doorbell handling, and shorter repolls. Dependency and same-queue ordering checks remain. Render-flight, slot, and ring capacity limits still bound publication. The idle first pass prevents cross-job folding for that initial record. Independently ran the exact-head command-stream, poll-retire, and publication suites (28, 43, and 86 cases passed). Reviewed the exact-head J773g and J516s reports, including the reported CTS failures and controls. No DT, board gating, private material, or attribution change.

@RyanTheTide

Copy link
Copy Markdown
Contributor

code-owner ping @DjDeveloperr: closeout merge of your PR at 068d90ee. App approved at this head, CI 24/24 green, rows J773g (exact head) and J516s (exact head, the T8122 stand-in). Merging under the 6-point rule 1 h from now unless you say hold.

@RyanTheTide

Copy link
Copy Markdown
Contributor

Merging under the 6-point rule (Ryan 09:29, permanent), at 068d90ee. (1) The review App approved at this head. (2) Full CI is green. (3/4) Rows: J773g+J516s@head. (5) There's no blocking review. (6) Dj was pinged here 91 min ago with no objection. Revert: git revert -m 1 <merge>.

@RyanTheTide
RyanTheTide merged commit 4dcecee into main Nov 29, 2026
24 checks passed
@RyanTheTide
RyanTheTide deleted the fix/g16-m4-no-ta-wave branch November 29, 2026 02:19
RyanTheTide added a commit that referenced this pull request Nov 29, 2026
Forward-merge main. Main (#3185) dropped the M4 TA wave window, which
removed Flight::heavy_render, Engine::ta_wave_wait and turned
can_queue_behind_with_ta() into can_queue_behind(). engine.rs keeps
this branch's compute_uma_mask and takes main's removal of
heavy_render. The test-publication.py stand-ins take main's Flight and
QueueBehindFlight shapes plus compute_uma_mask/quarantined_uma_mask;
the TA wave tests main deleted stay deleted, and the shared compute UMA
tests call can_queue_behind() without the TA cursor.

Signed-off-by: Ryan Murray <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:gpu Area from CODEOWNERS (bot) blast:m3 Macs affected, from Merge risk (bot) blast:m4 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants