Repository navigation
drm/asahi: g16: map scheduling context, render stamps, and UMA/PB records ASC-cached - #3503
Conversation
Firmware reads and updates the shared scheduling context on every TA, FS, and compute kick, completion, and active-count idle transition, and maps it ASC-cached (0x443) on macOS 26B123. Allocate the single shared scheduling context inside Graphs::finish() from the probe-time device-lifetime persistent allocator as Class::FwCoherent rather than uncached Class::Fw, and sync its cacheable host mapping with sync_for_cpu() before the pre-post check and inside the registration poll loop in register_context(). Signed-off-by: DjDeveloperr <[email protected]>
DjDeveloperr
left a comment
There was a problem hiding this comment.
HOLD at 9e8862ce48e278bbca0265d9b3925055daff0c7c.
- A multi-pass PB epoch can be recycled without proving firmware write-back. The firmware-visible PB counter is initialized to 1 (
drivers/gpu/drm/asahi/g16/pools.rs:1404). Publication increments a host-only flight count once and advances the separate UMA counter (g16/engine.rs:3489–3496,g16/resources.rs:445–446). In the CPU pool harness, publishing a two-pass flight leaves the PB counter at 1, expected 2. On 26B123 the manager write-back is conditional on its completed-pass count equalling that counter. The final service stamp therefore does not establish write-back beforeg16/resources.rs:477–478permits reuse. Publish the cumulative pass total to the manager's counter before the producer becomes visible and cover folded and repeated flights on one epoch. - Recovery loses a previously supported abort receipt. With one suspect render, both stage stamps and queue receipts passed, and the FS notifier still stale, the base receipt harness returns
Abortedafter the grace interval. The same input on this head returnsPending.g16/poll.rs:1385–1402exits before the grace/quarantine logic atg16/poll.rs:1439–1458. Preserve an independent stage/queue proof for suspect renders and keep the notifier as part of the full receipt. This was reproduced with mocked receipts. - A failed pool insertion strands a complete record set. In
g16/resources.rs:232–243andg16/resources.rs:401–411, the mappings are made permanent before the fallible entry allocation and vector insertion. An allocation failure there leaves the complete set mapped but unreachable by subsequent checkouts. Reserve the tracking storage before mapping, or retain the set in a pool-owned entry that can be retried.
All 26 stock host suites, strict checkpatch, canonical PR text and the live merge-tree passed. The packaged J773g module matches the recorded exact-tree build. The four-boot replay covers 160 rows, 80/80 pinned CRCs and zero faults. After the fixes, the second hardware row needs T6030 or T8122 with this backend (g16/mod.rs:109–118). T6040/T6041 and G17P use a separate driver path.
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
9e8862c to
e6eaeef
Compare
DjDeveloperr
left a comment
There was a problem hiding this comment.
HOLD at e6eaeef0f1f4d385ef4428ee2cc63e30989cfcd4. The cumulative PB pass counter and the retry of partially mapped record sets address the earlier findings. Two ownership and recovery paths still need attention.
- Idle-entry allocation failure releases the same entry twice. Both pools unlock before calling
Arc::new(lease). On OOM the kernel drops the supplied lease (rust/kernel/sync/arc.rs:227,rust/kernel/alloc/kbox.rs:255), whose destructor marks the entry idle. The error arm then marks it idle again (drivers/gpu/drm/asahi/g16/resources.rs:244,448; destructors at lines 354 and 585). That second store can clear another caller's successful claim and allow two live owners of the same firmware records. Give rollback to the lease destructor alone, or allocate its storage before claiming the entry. The new test injects failures into fresh-entry construction. Its ordinaryArc::newstub always succeeds. - A suspect render can start abort grace without a passed FS stage. The stale-notifier regression now passes. I also ran its negative counterpart in the CPU receipt harness: queue receipts passed, FS stage and FS notifier both one target behind, two polls 20 ms apart. The pre-series base stayed
Pending; this head returnedAborted. The suspect branches bypass stage progress (drivers/gpu/drm/asahi/g16/poll.rs:1367,1393), then mark the flight doomed at line 1464. Preserve an independent stage witness for suspect renders, or establish that the queue receipts alone imply stage passage for both exact and pipelined flights. This result is from mocked receipts.
All 26 stock host suites passed, including all three named regressions, with no additional host Rust warnings. Strict checkpatch passed for all three commits and the merge-tree was clean against 0285ae51cccb. Hardware qualification still requires exact-head J773g and G15 T6030/T8122 results.
e6eaeef to
238f795
Compare
DjDeveloperr
left a comment
There was a problem hiding this comment.
CODE-CLEAR at 238f795dfba7da9111d845ec0e144c5d19223209. Both pools now allocate the lease before claiming an idle entry. The PB manager, misc, ring and fixed counter occupy disjoint, aligned ranges of the uncached page. Recycling a multi-pass epoch no longer depends on a conditional manager write-back. The UMA submission counter is separate, and aborted leases remain quarantined.
For suspect renders with a stale notifier, the driver synchronizes the persistent stage stamp before reading it. I reran the prior negative receipt test: an unfinished FS stays pending. Passed stages and queues with a persistently stale notifier reach abort after grace. A simulated TA stamp-sync error propagated without arming grace.
All 26 host suites passed, with no additional host Rust warnings. Strict checkpatch passed for all three commits and the merge-tree was clean against 844781f1b56b. Merge still needs the exact-head J773g four-boot ABBA and one G15 T6030/T8122 row on this backend.
Render FS queue fw_stamp is written and polled by firmware on every FS finalize and render barrier, and is mapped ASC-cached (0x443) on macOS 26B123. Allocate RenderGraphSession FS fw_stamp[1] as a device-lifetime Class::FwCoherent (0x443) object in QueueSession::finish(), while keeping TA fw_stamp[0] uncached (Class::Shared) so ta_pending_passes(), recovery snapshots, progress sampling, and diagnostics continue to observe per-pass TA progress across multi-pass batches without waiting for the flight-tail TA_STAMP notifier update. Observe normal render completion through the uncached FS_STAMP and TA_STAMP service cells written by the notifier service after firmware descriptor and PB bookkeeping. On post-recovery suspect renders whose uncached notifier stamps have not settled, sync_for_cpu() and check fw_stamp[1] alongside uncached fw_stamp[0] and TA/FS queue receipts so a still-running suspect render never enters abort grace before both stages pass while keeping both notifier stamps required for Retirement::Full. Signed-off-by: DjDeveloperr <[email protected]>
Render UMA descriptors and PB manager/block/initbm records are read and updated by firmware on every render pass and are mapped ASC-cached (0x443) on macOS 26B123. Add device-lifetime RenderUmaPool and PbRecordPool caches for persistent Class::FwCoherent (0x443) render records so closed VMs never drop an ASC-cached mapping: - RenderUmaPool pairs ASC-cached descriptor (0x443) with uncached submitted (Class::Fw, 0x44b). Allocator resets the descriptor and submitted counter on reuse and leaves the lease settled only after all published flights retire normally without quarantine. - PbRecordPool pairs one 16 KiB ASC-cached cached_records page (per-slot pb_mgr array for 0..PB_SLOTS at 256-byte cache-line-isolated stride plus firmware-read-only initbm) and ASC-cached blocks with a persistent context-0 Class::Shared pages object assigned a globally unique client pages_gpu address in hw::client::DYNAMIC, plus uncached ring, counter, and misc (Class::Fw). Each PbEpoch maps pages into its VM via Objects::map_client_at() and drops _objects before releasing records_lease so no VM holds a client alias when a record set returns to the pool. - Once a hardware PB slot k is exposed on a PbRecordEntry, the entry is permanently bound to its (layout, heap_gva, heap_blocks) and the host never writes to slot k's ASC-cached pb_mgr or to blocks again: static fields stay invariant per set and slot, firmware's InitBM resets live cursors on the ASC-cached line itself, and counter stays at 1 to avoid per-flight hardware PB unloads. Standby reservations track per-heap sizes across PB heap growth so concurrent jobs never starve. Signed-off-by: DjDeveloperr <[email protected]>
238f795 to
cf33fcd
Compare
There was a problem hiding this comment.
Verdict: MERGE at cf33fcdd
Blockers: none (wait for the queued CI checks to finish green and run a second-Mac regression smoke before landing).
Checked:
- Three-commit ASC-cached (
0x443)g16series (a295a526sharedsched_ctx,0bac8ba3render FSfw_stamp[1]keeping TAfw_stamp[0]uncached,cf33fcddrender UMA descriptors andPbRecordSetPB records with globally unique bounds-checkedpages_gpuand_objects-before-recordsdrop ordering). - Tests & exact-head hardware row:
run-host-tests.py26/26 PASS (80/80test-resources.pycovering zero-write recycle, cross-slot isolation, wrong-binding rejection, drop order); J773g (T8132/G16G) exact-head 4-boot mirrored ABBA (20 workloads, 160 timed records, 80/80 pinned CRCs, 0 recoveries, 0 hang kills). - Checked for Apple material, tool attribution, private serials, and gating: clean;
MERGEABLEonmain.
Evidence
- Head:
cf33fcddeb3e(base: main,mergeable: MERGEABLE,+2335/-300across 12 files).
DjDeveloperr
left a comment
There was a problem hiding this comment.
CODE-CLEAR at cf33fcddeb3e98dd62561eaf9bc804829ca69609. I found no blockers in the three commits. Merge still needs one G15 hardware row on this backend at this head (see the last section).
Checked
- FS stamp: every host read of render
fw_stamp[1]either moved to the uncached notifierFS_STAMPor syncs first.- Moved: completion, the oldest-render check, progress sampling, the diagnostic dump and
recovery_snapshot(). - Synced: the two recovery-suspect reads (
g16/poll.rs:1380,:1423). - The host never writes this stamp. Firmware barriers still use its VA.
- Reading the notifier in
recovery_snapshot()can only mark an already-finished render as suspect. It can never make an unfinished one look complete. - TA
fw_stamp[0]stays uncached.
- Moved: completion, the oldest-render check, progress sampling, the diagnostic dump and
- Scheduling context: the only reads are in
register_context(), and both sync first. Nothing uses its VA beforeGraphs::finish(). - Exposed
pb_mgrslots: once a slot's bit is set, no host path writes that slot'spb_mgr. Once the set is bound, none writesblocks.- This holds across prepare, pool reuse, recovery, sleep restart (
Pools::invalidate()), reclaim and quarantine. - An aborted or quarantined set never returns to the pool.
- The 20 slots at 256 B, plus InitBM, fit in one 16 KiB page on separate cache lines.
- This holds across prepare, pool reuse, recovery, sleep restart (
pages_gpustays insideDYNAMIC. Nothing else maps there now thatalloc_dynamic_client()is unused. Each address belongs to one set, mapped into one VM at a time.- Drop order:
PbEpochInnerhas noDropimpl and noManuallyDropfield, so_objectsdrops beforerecords_lease(g16/pools.rs:1280,:1285).KernelMapping::dropunmaps and flushes the TLB synchronously, so the client alias is gone before the lease can return to the pool. - Locking:
- The pool mutexes only wrap process-context allocation.
- Lease
Droponly does atomic stores. - The standby spinlock is never held across an allocation or an epoch drop.
- UMA retirement now uses the host-side
retired_submitted, which is stricter than readingCOMPLETED.publish_batch()and the poll use the same per-flightf.renders. - Local results:
run-host-tests.py: 26/26 pass.checkpatch.pl --strict: 0 errors, 0 warnings, 0 checks on all three commits.- Sign-offs are valid, with no tool trailers.
git merge-treeagainst liveorigin/main844781f1b56bis clean, and main's 39 new commits don't touchg16/.
Follow-ups (not blocking)
- The PB record-set pool never shrinks.
- Each set pins about 96 KiB until reboot: 16 KiB cached records, 16 KiB uncached records, 32 KiB pages and 32 KiB blocks.
DYNAMICholds 10,922 sets (512 MiB / 48 KiB). The per-VM epoch budget (256) timesMAX_VMS(63) allows 16,128.- A local client that queues fence-blocked renders across many VMs can therefore pin about 1 GiB permanently.
- Once
DYNAMICruns out,take_for()returns ENOMEM to every other client that needs a new set (g16/resources.rs:534). - Base kept
pagesin each VM's ownDYNAMICand freed it with the epoch. - A device-wide cap on sets, with the same wait-for-credit behaviour as
Budget, would bound both problems.
take_for()andtake_standby_for()claim a set bybound_blocksonly (g16/resources.rs:467,:1680).prepare_with_scs_for()also checks the heap GVA and layout, and fails the render with EINVAL on a mismatch (g16/engine.rs:2641).- That is safe today: the heap is always
client::pb_heap(0), and the layout comes from the device ABI. - If either ever varies, claim on the full binding instead.
slot_exposedis anAtomicU32indexed with1u32 << k. Addconst _: () = assert!(sizes::PB_SLOTS <= 32);next to the stride asserts.
Hardware still owed
- The host cannot prove three firmware behaviours this relies on:
- InitBM resets the cursors of an exposed
pb_mgr. - Firmware never writes
blocks. COMPLETEDadvances beforeFS_STAMP.
- InitBM resets the cursors of an exposed
- The exact-head J773g run (T8132, G16G; 4-boot ABBA, 0 faults, 80/80 CRCs) covers G16 only.
- This backend also claims T6030 and T8122 (the
g16/mod.rsOF table and the T8122 path indriver.rs). - So merge needs one exact-head G15 row on J516s (M3 Pro, T6030 G15S) or on a T8122 (M3, G15G) board.
- Run with SLC on.
- Include a VM close/reopen cycle so recycled, already-exposed record sets get reused.
- T6040/T6041 and G17P use a separate driver path and are unaffected.
- CI at this head is still queued. Nothing has failed so far.
|
PASS — J516s (M3 Pro, T6030 G15S) second-generation row at
J516s second-generation row, 30 Nov: PASS. 44/44 rows passed, 22/22 pinned CRCs matched, and both compression structural checks passed. Pins included compute.uber uniform M3 Pro J516s (T6030, G15S), 30 Nov 2026. Both arms used their own one-shot kernel and matching Staged Two-pass wall-time smoke measurements vs baseline: compute.uber uniform d4 +0.1%, compute.light d16 −6.7%, render.light tri d8/d16/d64 −13.1%/−13.8%/−16.1%, postfx MSAA4 d2 −1.2%, bindless UBO d1/d2 −3.3%/+1.8%, and mixed compute/render d4 −10.1%. Evidence on the controller is in |
Signed-off-by: DjDeveloperr <[email protected]>
There was a problem hiding this comment.
Verdict: HOLD at 3692d7e7
Blockers:
- Hosted CI at
3692d7e7is still pending (18queued jobs:apple-build,host-tests, and KUnit suites). - Exact-head
3692d7e7hardware receipt orhwokcarry-forward is still needed (needs-hw-rowflagged bypr-readinessafter themainmerge).
Checked:
- Forward-merge cleanliness (
+2334/-302across 12 files):3692d7e7cleanly mergesmain(e6c7b03263) onto the previously approved 3-commit ASC-cached series (a295a526sharedsched_ctx,0bac8ba3render FSfw_stamp[1],cf33fcddrender UMA descriptors andPbRecordSetPB records), preservingsync_for_cpuguards onsched_ctxand recovery-suspectfw_stamp[1]reads. - Prior hardware evidence (
cf33fcdd): both J773g (M4, G16G) and J516s (M3 Pro, T6030 G15S — 90/90gpubench-vkCRC parity across two runs, 0 GPU faults) passed.
Evidence
- Merge-order note (non-blocking):
g16/engine.rs:914andg16/poll.rs:924,1379,1384readg.notifier.r32(notifier_page::{TA,FS}_STAMP)andnotifier::CONTEXT. If#3298(which mapsRenderGraph.notifierClass::FwCachedand moves those stamps tog.user_stamp[0/1]) merges first, this branch will need to switch those reads tog.user_stamp[0/1]and drop the cachednotifier::CONTEXTreads when mergingmain. - Ready condition: Upgradeable to
APPROVEas soon as the 18 queued CI checks complete green and the3692d7e7hardware-row / carry-forward check clears.
|
PASS — J773g (M4 mini, T8132 G16G) target row at
Correctness on all four boots:
The only row that moved the wrong way is the render-pass overlap ratio (1.10 → 1.08). It's small and outside this PR's scope. It is being investigated separately as the remaining M4 render gap to Metal (Metal 1.37). |
There was a problem hiding this comment.
Verdict: HOLD at 09d84a54
Blockers:
- Hosted CI workflows (
apple-build,host-tests, and KUnit suites) are still queued/running at09d84a54. - Exact-head
09d84a54hardware row orhwokcarry-forward (pr-readinessrequires the current head SHA after themainmerge).
Checked:
- Forward merge
09d84a54(3692d7e7..09d84a54): only unrelateddrivers/accel/ane/*andinclude/uapi/drm/ane_accel.hfiles entered frommain; zero changes todrivers/gpu/drm/asahi/relative to the previously audited and hardware-tested3692d7e7tree (J773g G16G target row at3692d7e7and J516s G15S second-generation row atcf33fcdd).
Evidence
- Code remains clean across all 12 touched files (
+2334/-302). Ready to approve once hosted CI at09d84a54finishes green and the head SHA is recorded with hardware acceptance.
RyanTheTide
left a comment
There was a problem hiding this comment.
Merge-train approval (last-push review of the merge-up delta, per the merge bar: better than before, doesn't break). 09d84a54 only merges current main into 3692d7e7, which is where the J773g target row passed; J516s (T6030 G15S) second-generation row at cf33fcdd. Merging once hosted CI is green.
|
PASS — J773g (M4 mini, T8132 G16G) exact-head row at
|
There was a problem hiding this comment.
Verdict: MERGE at 09d84a54f23f
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: - Forward merge 09d84a54 (3692d7e7..09d84a54): only unrelated drivers/accel/ane/* and include/uapi/drm/ane_accel.h files entered from main; zero changes to drivers/gpu/drm/asahi/ relative to the previously audited and hardware-tested 3692d7e7 tree (J773g G16G target row at 3692d7e7 and J516s G15S second-generation row at cf33fcdd).
Follow-ups (not blocking): queued CI; hwok carry-forward to head
|
Merging at |
What
Map the firmware-hot
g16scheduling, render FS stamp, render UMA descriptor, and parameter-buffer (PB) records ASC-cached (0x443) to match macOS 26B123 (uat-clp8p-1/uat-postfx2p-1), eliminating uncached DRAM round-trips on every TA, FS, and compute kick and completion:a295a52632c6—drm/asahi: g16: map the shared scheduling context ASC-cached: allocates the single sharedsched_ctxfromGraphs::finish()'s probe-time persistent allocator asClass::FwCoherent(0x443) withsync_for_cpu()before the pre-post check and inregister_context()'s poll loop.0bac8ba30d12—drm/asahi: g16: map render FS firmware stamp ASC-cached: mapsRenderGraphSessionFSfw_stamp[1]as device-lifetimeClass::FwCoherent(0x443) while keeping TAfw_stamp[0]uncachedClass::Sharedsota_pending_passes(),recovery_snapshot(),progress(), andreport()observe per-pass TA progress without 3-wave throttling on multi-pass renders. Normal flights fail fast on uncachednotifierFS_STAMP; coldrecovery_suspectflights with unsettled notifiers usesync_for_cpu(0, 4)?onfw_stamp[1]as an independent stage witness.cf33fcddeb3e—drm/asahi: g16: map render UMA descriptors and PB records ASC-cached: adds device-lifetimeRenderUmaPoolandPbRecordPoolonFactory:RenderUmaPoolmaps render UMAdescriptorasClass::FwCoherent(0x443, unconditionallydc civac'd by 26B123 at0x2d538) paired with uncachedsubmitted(Class::Fw).PbRecordPoolplaces per-slot ASC-cachedmanagers[0..PB_SLOTS](256 B stride, 2x M4 cache lines, zero cross-slot false sharing) and firmware-read-onlyinitbmin one 16 KiBcached_records(Class::FwCoherent,0x443), keepsblocksClass::FwCoherent(0x443), and keepsring(BLOCK_CTL),counter(constant1, avoiding per-flight0x101e4HW PB slot unloads), andmiscinnc_records(Class::Fw,0x44b).pages(32 KiB,Class::Shared) is hosted inPbRecordSetat a globally unique bounds-checkedpages_gpu = DYNAMIC.start + slot * 0xc000aliased per VM viaObjects::map_client_at().PbEpochInnerdeclares_objectsstrictly beforerecords_lease, unmapping VM A'spages_gpualias synchronously before the lease returns to the pool.k, aPbRecordEntryis permanently bound to(layout, heap_gva, heap_blocks)andslot_exposedbitkensures the host never writes tomanagers[k]orblocksagain (InitBMresets live cursors on the ASC-cached line itself), eliminating any host-write vs ASC-dirty-line coherency race. Both pools pre-allocateUniqueArclease storage before locking so OOM can never double-release or strand mappings; quarantined/aborted entries never return to the pool.00fbe806db2322d96561542e7cf92af0874ff0ed(cleangit merge-treeagainst liveorigin/main844781f1b56b).cf33fcddeb3e98dd62561eaf9bc804829ca69609(perf/g16-fw-cache).Tested
cf33fcddeb3e:drivers/gpu/drm/asahi/):LD [M] drivers/gpu/drm/asahi/aurora.o, 0 errors, 0 new warnings (35 pre-existing).run-host-tests.py: 26/26 PASS (80/80tests intest-resources.py, covering immutablepb_mgr/blockszero-write recycle, cross-slot isolation, wrong-binding rejection, runtime+static_objects-before-records_leasedrop order,DYNAMICexhaustionENOMEM, pre-lockUniqueArcidle-entry OOM safety, partial-alloc/sync retry without burningDYNAMICslots, and concurrent heap-growth standby reservations;test-stamp-wrap.pycovering both stale-FS-notifier abort and unreached-FS-stage pending recovery paths).checkpatch.pl --strict --git 00fbe806db232..cf33fcddeb3e: 0 errors, 0 warnings, 0 checks across all 3 commits.T8132/G16G B0, exact-head 4-boot mirrored ABBAmbase,fwimmtw,fwimmtw,mbaseoncf33fcddeb3e, Vulkan Borealis Mesa90211df6816a,gpubench-vk ae90a40, 2 passes x 20 rows per visit, 3x250 ms samples after 150 ms warmup):80/80exact pinned CRCs,8/8compression readback checks,72/72status-only OK,160/160timed records valid).render.light tri d16: -11.58% (-9.10% / -13.94%,58.26/60.94 -> 52.95/52.44 us)query.occlusion d16: -11.52% (-8.78% / -14.11%,57.87/61.16 -> 52.79/52.53 us)render.light procs tri d16: -10.97% (-8.83% / -13.02%,66.70/69.66 -> 60.81/60.59 us)render.postfx msaa=4 1080p d2: -10.38% (-8.91% / -11.81%,729.97/751.96 -> 664.91/663.13 us)render.light tri d64: -10.22% (-7.80% / -12.54%)compute.light procs d16: -8.89% (-6.77% / -10.92%)render.bindless_ubo 512 d2 / d1: -8.86% / -7.34%compress.bw array 1440p d4: -8.70% (-6.80% / -10.55%)render.mdi 1024 d1 / d4: -8.61% / -6.01%concurrent.cr interleave d4: -8.49% (-6.66% / -10.25%)compute.light queue d16 / d4: -6.80% / -4.48%;procs d4: -5.40%render.postfx msaa=4 1080p d1: -6.37% (-5.49% / -7.23%, GPU-8.41%,807.81/824.10 -> 763.50/764.53 us)render.shadow depth_only d2: -4.00% (-0.09% / -7.76%, GPU-4.35%)render.deferred tile msaa=4 d1: -1.69% (d2 -0.11%)Full exact-head J773g 4-boot mirrored ABBA table (20 workloads, 160 timed records, 80/80 pinned CRCs)
A is
origin/main(00fbe806db23). B isperf/g16-fw-cache(cf33fcddeb3e). Values are us/submit; pooled delta is ratio of arm means.postfx msaa=4,res=1080p d1668d6f0apostfx msaa=4,res=1080p d2668d6f0abubo draws=512,mode=ubo_vec4 d11af53d5cbubo draws=512,mode=ubo_vec4 d21af53d5cmdi bindless=256,draws=1024 d1f69c5f55mdi bindless=256,draws=1024 d4f69c5f55shadow depth_only d2c0fb9993shadow alpha_test d27be9463acompress array 1440p d4deferred tile msaa=4 d16dc74b48deferred tile msaa=4 d26dc74b48render.light tri d16render.light tri d64render.light procs tri d16query occlusion d16concurrent.cr interleave d4compute.light queue d4compute.light queue d16compute.light procs d4compute.light procs d16Driver counters across 4 boots:
391,016-409,092jobs/pass (255,355-267,859early) onmbasevs432,706-436,178jobs/pass (285,595-288,172early) oncf33fcddeb3e;recoveries_delta = 0,hang_kills_delta = 0,compute_quarantined_after = 0,render_quarantined_after = 0.09d84a54(maindbfbced7+ this head's driver, tree checked equal to the head): bindless_ubo d2 −8.3 %, postfx msaa4 d2 −7.6 %, light d64 −10 %, compute.uber d4 −3.9 %, shadow/deferred flat; 10/10 pinned CRCs, 0 GPU faults.cf33fcdd: PASS, 90/90 gpubench rows with CRC parity across two runs, 0 GPU faults.Risk
Two-way door (low risk): strictly scoped to
drivers/gpu/drm/asahi/g16/firmware object caching classes and device-lifetime pools with zero UAPI/ABI changes. All ASC-cached mappings obey the persistent device-lifetime contract (no unmap teardown),PbRecordEntryis immutable after first exposure on each slot, clientpages_gpualiases unmap strictly before lease return, and quarantined/aborted entries never return to the pool. Cleanly revertible commit-by-commit.Not yet
09d84a54and the J516s (G15S) second-generation row atcf33fcddare both posted.