diff options
| author | kurrutako <kurrutako@users.noreply.github.com> | 2026-11-25 19:04:43 +0100 |
|---|---|---|
| committer | kurrutako <kurrutako@users.noreply.github.com> | 2026-11-25 19:04:43 +0100 |
| commit | 28fc0262d2957412cecfbfa8dd679b8e9e7dbf53 (patch) | |
| tree | 3da01d5324d265e868606a6cac267e2f61214408 /runtime/src/vulkan_aftermath.cpp | |
| parent | ca00cc0e0338d27ff018f94d9a7e6e3da58abe7d (diff) | |
d3d12_xs, test: say which route slot 31 remaps through; cover the retail route
queue_copy_page_mappings logs once whether CopyPageMappingsBatchX goes to an
installed batch hook or to the default adapter over xmem's range callback
(copy_page_mappings_fn), so a boot's read-fault reports can be matched to the
implementation the tests cover. Nothing in the runtime installs a hook, so a
retail run takes the default adapter.
d3d12_xmem_placed_test gains queue_remap_default_route, for that route: no
hook, a legacy-paired GPU-only destination, and a GPU-only pool backed only
through its CPU alias. The title maps a page of its own at one CPU twin while
the remap waits behind queue work (deferred with list values, waited for with
LEONIDA_LIST_VALUES=0), so ownership is checked when the remap is applied.
After the copy the GPU-only pages hold the pool's bytes, the other twin follows
them and the title's page keeps its bytes; after an unmap the GPU-only pages
and the mirrored twin are reserved and the title's page still holds its bytes.
On the code before this pull request the title's page check fails.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/vulkan_aftermath.cpp')
0 files changed, 0 insertions, 0 deletions