Skip to content

D3D12.X: poll VRAM retirement fences outside registry locks - #122

Draft
bmjask wants to merge 1 commit into
stack/118-serialize-title-uploadsfrom
stack/119-poll-vram-fences-unlocked
Draft

bmjask wants to merge 1 commit into
stack/118-serialize-title-uploadsfrom
stack/119-poll-vram-fences-unlocked

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #121.

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

What and why

This unit isolates d3d12.x: poll vram retirement fences outside registry locks as one reviewable step in the redesign.

What is in it

  • f9d84735 is the cleaned-stack form of integrated commit d8a0818d.

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/118-serialize-title-uploads branch from 867fae6 to d1e8ca4 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/119-poll-vram-fences-unlocked branch from f9d8473 to 65cd8e2 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/118-serialize-title-uploads branch from d1e8ca4 to df03f7b Compare November 27, 2026 01:00
@bmjask
bmjask force-pushed the stack/119-poll-vram-fences-unlocked branch from 65cd8e2 to 6d8b296 Compare November 27, 2026 01:01
VRAM reclamation queried every retirement fence while holding the device-wide registry. Snapshot strong exact fence owners, poll and deduplicate them unlocked, then sweep current batches against those observations. Concurrent higher or new marks remain retired, and completed heaps and COM owners drop after the lock.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/119-poll-vram-fences-unlocked branch from 6d8b296 to bd31983 Compare November 27, 2026 05:14
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