RUNTIME_VERSION 1897: dma-buf imports are made with the device's memory lock released
A no-copy buffer's or texture's dma-buf import (dma_buf.rs import_chunks, and textures over dma-buf pages) called vkAllocateMemory with the device's memory lock held, so every other making, placement or free on any thread waited for the driver's import: 62 to 273 ms on the Radeon 780M in reims's boots (8588, 8866). It now chooses the type under the lock, imports without it and records the import under it, as pointer imports already did (radvruns, 66f69a827a..93437d2586). Runtime sources re-pinned. Verified: the doc checks in the landing tree. The change's own evidence: 780M gem10 8861 makings_beside_a_dma_buf_import_in_the_driver_wait_for_none_of_it (a placement 0.170 ms, a pointer import 0.248 ms beside a held import; the negative control waits past 5 s), 91/91 in the dma-buf, residency, in-place, export, host RAM and YCbCr suites; clippy x3 and rustdoc (8829).
This commit is contained in:
1 parent
93437d2586
commit
f84816ddec
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
72630bba9b789966afc9fbcdbe988338fd0a59426a7921c317848d6d6a5a14c7
|
||||
cb85ae43d7c3865c066aa739e9a94a1fd2895348eb96d0095d8eec998256e0c4
|
||||
Vendored
+1
-1
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 493;
|
||||
/// 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 = 1896;
|
||||
pub const RUNTIME_VERSION: u32 = 1897;
|
||||
|
||||
/// 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
|
||||
|
||||
Reference in new issue
Block a user