From 00765678d59423669fcad6fe56cce9be9bb352e6 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Tue, 6 Oct 2026 23:02:45 -0400 Subject: tools: durable BAR0 GR register sampler + analyzer (gr-regs/) reg_sampler.py: high-rate read-only MMIO sampler for the physical GPU's PGRAPH/FECS/SKED/PFIFO registers (FECS current-context valid + pointer, SKED CWD table occupancy/activity, GRFIFO, FE QMD-virt, PMC_ENABLE) with analyze_regs.py for value distributions and transition timelines. Recorded ground truth and register semantics in tools/gr-regs/README.md. Used to capture the live distro-driver CUDA reference (FECS VALID=1, CWD table 0x3f002000 while running) and to observe the ladder's forwarded launch (CWD entry + SKED processing after the mode-35 lane enable). --- tools/README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/README.md') diff --git a/tools/README.md b/tools/README.md index f9e0018..811a46b 100644 --- a/tools/README.md +++ b/tools/README.md @@ -8,6 +8,7 @@ Collection of scripts and utilities for vGPU development, debugging, and testing tools/ ├── module_ops/ # Kernel module load/unload/reload utilities ├── debug/ # Debugging and diagnostic tools +├── gr-regs/ # Read-only GR/FECS/SKED register sampler + ground truth ├── test/ # Test runners and validation scripts ├── vm/ # VM/QEMU management for vGPU testing ├── firmware/ # GSP firmware management -- cgit v1.2.3