Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix duplicate dictionary key 31 in XID_MESSAGES
Remove duplicate key 31 from XID_MESSAGES dictionary in gpu_xid_injector.py.
Key 31 was defined twice:
- Line 92: "MMU Error" (Memory Subsystem section)
- Line 113: "GPU stopped responding" (Graphics section)

Removed the duplicate from Graphics section as the MMU Error definition
is the primary meaning and the comment indicated it can be both contexts.

Fixes ruff pre-commit error: F601 Dictionary key literal `31` repeated
Signed-off-by: Oviya Seeniraj <[email protected]>
  • Loading branch information
nv-oviya committed Nov 26, 2025
commit 0250436451fb64a70ae04be488a05d923b3d345c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
57: "Clocks Event: Power limit exceeded",
# Common Graphics XIDs (often seen in test environments)
13: "Graphics Engine Exception",
31: "GPU stopped responding", # Can be both MMU or timeout context
45: "Preemptive Cleanup, due to previous errors",
69: "Graphics Exception: Class Error",
}
Expand Down
Loading