Skip to content

dma: expose GPU linked-list observability - #317

Merged
mstan merged 1 commit into
masterfrom
fix/dma2-ot-observability
Sep 3, 2026
Merged

dma: expose GPU linked-list observability#317
mstan merged 1 commit into
masterfrom
fix/dma2-ot-observability

Conversation

@mstan

@mstan mstan commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

Validation

  • git diff --check
  • cmake -S runtime -B build-native -G Ninja -DBUILD_TESTING=ON -DPSX_REWIND=OFF -DPSXRECOMP_ALLOW_NO_BIOS=ON -DPSX_RECOMP_UI=OFF using the native retcomm toolchain
  • cmake --build build-native --target dma_gpu_linked_list_timing_test
  • cmake --build build-native --target psx-runtime
  • build-native/dma_gpu_linked_list_timing_test.exe: PASS

Context: salvages the counters-only part called out in #302 (comment) after #304 superseded the walker fix.

Add passive DMA2 ordering-table counters to dma_state so long or aborted linked-list walks are visible without relying on screenshots. The counters track starts, duplicate starts dropped while a walk is active, completions, cancels, last/max walk size and cycle cost, CHCR poll counts, the initiator PC, and the last eight cancel records.

This intentionally does not port PR #302's superseded walker changes or the PSX_GPU_LL_SYNC diagnostic lever; PR #304 remains the timing implementation.

Co-authored-by: Kevin Kline <9866117+kerokline@users.noreply.github.com>
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