RUNTIME_VERSION 1956 and the runtime-sources pin for no-copy memory whose source fails

The commit before this is radvruns' fix for an inconsistency sweep found on RADV:
- Before: a no-copy buffer or heap over shared memory (a memfd mapping) whose pointer the device refuses was a copy
  when it had no dma-buf source, but refused (Unsupported, HostMemory) when its source failed.
- Now: where the device refused the pointer and no dma-buf of the pages served (the source failed, or the device
  refused its dma-bufs), the outcome is the device's refusal either way: a copy, announced and counted as
  copied_host_buffers_device_refused. Rule 2: Metal makes a no-copy buffer over any page.
- Unchanged: misuse (Invalid, DmaBuf), the unpinnable path, a lost device, dma-buf-only imports, windows the import
  alignment does not cover, and rebinds.
A stored runtime artifact can see the answer change, so RUNTIME_VERSION goes 1955 -> 1956 and the runtime-sources
pin is recomputed: 667a42b2147fda1812b456d20e37b897aee4eae3228ef69bfbe170a8e885000e.

Verified at the tip a30909d44a (on bb8c60238b) by radvruns:
- PHOENIX 11208: runtime tests 78/78; host-memory lanes 69/69. The negative control (development's
  buffer_descriptor.rs) fails copied_device with Unsupported(HostMemory), and fails the lane.
- PHOENIX 11207: clippy clean, plain and gpucfg.
- M3 11230: clippy clean; rustdoc clean; runtime suite 1358/1358.
This commit is contained in:
Anees Iqbal committed 2026-11-09 00:35:39 -08:00
1 parent f36d32dfd3
commit df79c0a7df
2 files changed
+2 -2

No files matched your search

@@ -1 +1 @@
8ae32d4765b4f41b760258dd704bedcbfc3453081f6c2273dac3e614fdde045b
667a42b2147fda1812b456d20e37b897aee4eae3228ef69bfbe170a8e885000e
+1 -1
View File
@@ -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 = 1955;
pub const RUNTIME_VERSION: u32 = 1956;
/// 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