From 26f0006adcb9dc83d41a3bf84f386892f33bde83 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Wed, 7 Oct 2026 11:12:18 -0400 Subject: 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. --- tools/gr-regs/reg_sampler.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/gr-regs') 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"), -- cgit v1.2.3