summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-07 11:12:18 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-07 11:12:18 -0400
commit26f0006adcb9dc83d41a3bf84f386892f33bde83 (patch)
tree131654f90bc42eba9620061feb23e81e309412bb /tools
parent588d43e93d0be54be6d5d6822d78a12b965afadf (diff)
downloadopen-iov-26f0006adcb9dc83d41a3bf84f386892f33bde83.tar.gz
open-iov-26f0006adcb9dc83d41a3bf84f386892f33bde83.zip
gr-regs: sample PGRAPH_EXCEPTION/EXCEPTION1/EXCEPTION2 at the dispatch window
The m81 window still shows SEMAPHORE|EXCEPTION pending at QMD activation (the PM VA mapping did not clear it). NV_PGRAPH_EXCEPTION (0x400108) and its GPC/BE companions name which subunit raised the exception (FE/MEMFMT/PD/SCC/DS/ SSYNC/MME/SKED/GPC/BE), which discriminates an engine-context-restore fault from a method/instruction fault.
Diffstat (limited to 'tools')
-rw-r--r--tools/gr-regs/reg_sampler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gr-regs/reg_sampler.py b/tools/gr-regs/reg_sampler.py
index af00db7..25879ef 100644
--- a/tools/gr-regs/reg_sampler.py
+++ b/tools/gr-regs/reg_sampler.py
@@ -32,6 +32,9 @@ DEV = "/sys/bus/pci/devices/0000:01:00.0/resource0"
REGS = [
(0x000200, "PMC_ENABLE"),
(0x400100, "PGRAPH_INTR"),
+ (0x400108, "PGRAPH_EXCEPTION"),
+ (0x400118, "PGRAPH_EXCEPTION1"),
+ (0x40011C, "PGRAPH_EXCEPTION2"),
(0x40013C, "PGRAPH_INTR_EN"),
(0x400700, "PGRAPH_STATUS"),
(0x400504, "GRFIFO_STATUS"),