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
commit10102bfbd9435d3a6683c20bb7e75120a46db0aa (patch)
treeb9d3729ebf52dd5c86aa7d9a0db0fc81db43e734 /tools
parent3e565022219903fbbf4a654124047d73572e1739 (diff)
downloadopen-iov-10102bfbd9435d3a6683c20bb7e75120a46db0aa.tar.gz
open-iov-10102bfbd9435d3a6683c20bb7e75120a46db0aa.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"),