Files
geramyloveless 85cda5ae74 Log client BAR mappings; vk-copy-bench --alloc
A CPU mapping of the GPU's BARs in a client process is a store path the
driver cannot route through the kernel: a store through it to an
unplugged GPU panics the Mac. The driver now logs each one it hands out,
Linux-file mappings (VRAM-resident buffers, KFD doorbell and MMIO pages)
and raw BAR leases, with the client ID its open is logged under, to
measure which clients map what before deciding what to change in the
client ABI.

vk-copy-bench --alloc times allocating, mapping, touching and freeing
host-memory buffers, for the cost of the page-table writes behind them.
2026-10-04 17:53:55 -07:00
..