From e19e384642aa399dcddc71eccd5a71fa0f3bf35d Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 20:50:36 -0800 Subject: [PATCH] RUNTIME_VERSION 1995 and the runtime-sources pin for 64 MiB blocks and the exportable fill The landed block policy (nvreds, steelbrain/nvreds-block-policy caa2b45263, 11 commits) changes what a run does on an unchanged artifact: - Pooled blocks are 64 MiB again, 68 MiB for blocks of images (a 2048x2048 RGBA8 texture is 16 MiB + 64 KiB at 64 KiB alignment on RADV and ANV, so 64 MiB holds 3 and 68 MiB holds 4); the making-rate rule is removed. The small blocks of RT 1984/1993 were the pin 32 regression reims measured. - Where DriverFact::PlainAllocationsHoldSubmissions holds (RADV on the 780M), a block of plain memory is first filled through an exportable allocation, freed, so the plain allocation takes the kernel pool's pages (0.1 ms instead of 9.0-9.5 ms of page fill that held the device's submissions). New counters WorkCounts::plain_block_fills_saved / plain_block_fills_missed. FAST-PATHS rows rewritten. Verified by nvreds (jobs named in the branch's commit bodies): 780M A/B 12798, turnarounds >= 8 ms per phase 12-14 -> 0-2, slowest 32.1 -> 13.8 ms, hold 125-201 -> 0.7-21 ms; tip runs 12852/12860; the packing test fails without the slack (negative control); clippy, rustdoc, api_signatures, driver_facts, fast_paths 32/32 (gem10 12903); block_fills, blocks_ahead and memory 27/27 on the 780M (12891); fill absent with 0 fills on Iris Xe and lavapipe (12851). Pending: Iris Xe + lavapipe on the rebased tree (12904). Pin recomputed with pin-compute.py; signatures --check and the generated docs unchanged. --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- crates/metal2vulkan/src/cache/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index 8a3654640..902a7b201 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -6d59eec5bae5f4f0b8137ab3c030e2e8c5ed92b0075cde6e4fcf8fff7e7e3f3e +7faa4c302abe2ed40832c3b1afb1fc59e76b8e85b39d483501a5ff8eca2a8f3e diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index a1ee9d978..67ee63316 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 497; /// changes no behaviour, and then updates that hash alone with the commit saying why, or changes /// behaviour and also bumps this version. The commit that bumps it says what changed; this comment /// keeps no history. -pub const RUNTIME_VERSION: u32 = 1994; +pub const RUNTIME_VERSION: u32 = 1995; /// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex, /// of the manifest, the build script, and exactly the files the crate roots' module tree compiles