diff options
| author | OreoFR <29048345+OreoFR@users.noreply.github.com> | 2026-11-27 04:32:04 +0100 |
|---|---|---|
| committer | OreoFR <29048345+OreoFR@users.noreply.github.com> | 2026-11-27 04:32:04 +0100 |
| commit | 0d61aa9be16cb99e185f26c4eec5a4c643664b0f (patch) | |
| tree | a5038379d200aa45c697aa4928e80c4132b25dbd /runtime/test/tiny_game_exit_code_test.cpp | |
| parent | 95d25843e3faf8941ae5f8616ac59ff1c67c6437 (diff) | |
test: a window write-back whose copy faults on another guard's page returns (#2418)
d3d12_title_window_write_back_fault (d3d12_title_va_test --window-writeback-fault) makes the write-back's
copy fault on a page the tracker did not protect itself, the case review asked for: the ring is
write-watched, a title write makes its first page hot (writable, asked about rather than guarded), and
a geometry watch cell over the first 64 KiB, what a geometry view over the same pages arms, makes that
page read-only behind the tracker's back. The next submission's write-back faults there; the handler
reopens the cell and asks every tracker over the address, the writing one too. Without 95d25843e that
tracker took its own SRW lock again on the thread that held it and the submission never returned: a
watchdog thread ends the process with a FAIL line after 20 s. With it the submission returns and the
GPU's words, and the title's own word, are in the pages.
RTX 4070 Laptop, NVIDIA 621.40, Windows 11: passes (8 of 8 runs) with the fix; with the fix's
d3d12_vulkan_device.cpp change reverted locally it fails at the watchdog. d3d12_title_va,
d3d12_title_window_write_back and d3d12_placed_write_back pass either way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions