Files
metal2vulkan/docs
Anees Iqbal 924f46aac7 use_host_ram and HOWTO: the no-source case and the dma-buf route in one statement
flakes's landing (bc13149480) documented a RAM of shared memory on a
device that refuses shared pointers (RADV) as imported nowhere with no
dma-buf source; this branch documented the dma-buf route. The doc of
use_host_ram now says both together: with a source such a RAM's chunks
go as dma-bufs, with none it is taken but imports no chunk and each
object over it is refused. HOWTO's chunk bullet says the same.

flakes's test a_ram_of_shared_memory_a_device_refuses_imports_no_chunk_
and_refuses_its_objects now also reads this branch's counters: the
chunk's pointer import refused (host_ram_pointer_imports_failed >= 1)
and no dma-buf import (host_ram_dma_buf_imports == 0), printed as a
HOST-RAM line. Its insertion had left the doc comment of
an_object_made_while_its_imported_chunk_is_looked_at_is_bound_in_the_
chunk above it; that doc goes back to its test.

Verified: cargo fmt; the RADV run follows as a potluck job.
(cherry picked from commit 1534099c85ec27c7c2d8f2e1b48047c1026d568d)
2026-11-07 05:45:54 -08:00
..