From 9b00cd81d6be6d1638aece5bb09bccc1679b37e3 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 11:40:32 -0800 Subject: [PATCH] RUNTIME_VERSION 1983 and the runtime-sources pin for listed plans that ask the driver first 77f336e98c changes the runtime's guest RAM: run-list imports consult the device's remembered dma-buf refusal (and remember the driver's own refusal of a list), and a use whose plan would be listed first asks the driver with one page of the RAM (Device::ram_takes_dma_bufs), listing only where the driver took it, so a taxed NVIDIA keeps 64 MiB chunks by pointer. The host_ram_dma_buf tests force the tax held and read the plan the device chose. Pin 30's 5080 red copies_over_a_listed_ram_make_no_untouched_page_of_it_resident was this. Verified by the branch: RTX 5080 (b5080 exitcrash-follow-112525) dma-buf module 10/10 twice, the driver refusing the use's question for real; the old tests with the tax forced held fail 3 of 4 there; gem10 lavapipe 12205 (suite 2007/2007, clippy x3, rustdoc), 12213 fast_paths/docs 27/27; 780M 12209 module 10/10 twice (listed, run lists used). Negative controls for each part fail. Here: signatures --check, REFUSALS and coverage docs regenerated, fmt. --- 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 114b961e0..af5c4f010 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -aa4ee83b84071fd344e4febaa65d21972b8e4b8b1a81b711e7ba1e31b86e7f9e +74e812a88db6d5ad8760a16b320f76cd0be87d2b83e3990ef38982d25554289a diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 72c210681..f238cc8dd 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 = 1982; +pub const RUNTIME_VERSION: u32 = 1983; /// 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