Skip to content

D3D12.X: signal deferred unmaps outside page state - #152

Draft
bmjask wants to merge 1 commit into
stack/148-bulk-copy-pcmfrom
stack/149-signal-unmaps-unlocked
Draft

bmjask wants to merge 1 commit into
stack/148-bulk-copy-pcmfrom
stack/149-signal-unmaps-unlocked

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #151.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates d3d12.x: signal deferred unmaps outside page state as one reviewable step in the redesign.

Upstream overlap

This is part of upstream PR xcl-dev#2270 and is retained only as an internal reconciliation draft.

What is in it

  • caa32caf is the cleaned-stack form of integrated commit 6408edfe.

The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.

Tested

Tests were not rerun while packaging this already-integrated change into the draft stack.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.

@bmjask
bmjask force-pushed the stack/149-signal-unmaps-unlocked branch 2 times, most recently from b91cec1 to 55dc74d Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/148-bulk-copy-pcm branch from 4ecc7b9 to e1ca659 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/149-signal-unmaps-unlocked branch from 55dc74d to 536b7ac Compare November 27, 2026 05:14
Reserve fail-closed completion values while updating the held mapping, then call the driver queue Signal methods after releasing PAGES. Concurrent completion polling sees unsignalled values and keeps the mapping, and a Signal failure remains safely incomplete.

Checked with the Windows GNU cross-target cargo check; native multi-queue GPU tests were unavailable.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/149-signal-unmaps-unlocked branch from 536b7ac to b86e41a Compare November 27, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant