5 Commits

Author SHA1 Message Date
2e86387188 Address CodeRabbit PR #383 review findings across RMAPI, kernel glue, KMS/DRM, and tools 2026-12-03 08:58:32 -08:00
d1596ff615 Merge origin/master into feat/ga102-desktop-master 2026-12-03 01:12:21 -08:00
d0fd4d585a tools: harden dev_mode/dev_health/dev_reload and honor --check/atomic writes in extract_gv100_firmware.py 2026-12-02 02:31:25 -08:00
152640770a tools/packaging: add desktop DRM ABI checker, QEMU smoke guest, and install/udev wiring 2026-12-01 19:20:50 -08:00
5240a5321e tools: reboot-free dev mode (dev_mode/dev_reload/dev_health) (#86)
* tools: reboot-free dev mode (dev_mode/dev_reload/dev_health) and udev rule

Root-only nvdriver nodes so no desktop process pins nvidia_rs, a reload
script that unbinds GPUs before rmmod, and a pre/post health gate.
Adds the AGENTS.md personal-laptop override that allows no-reboot tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* tools: address review of dev mode scripts

- dev_health: scan threads (ps -L) so a D-state non-leader thread is caught
- dev_reload: keep module parameters as separate quoted words (no glob expansion)
- dev_reload: restart nvidia-persistenced when a holder refuses the teardown
- dev_reload: drop and rebind the /dev/nvidia* aliases around the reload
- dev_reload: enumerate bound PCI devices of every domain

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* dev tools: drop personal override and invalid reload defaults

- AGENTS.md: restore upstream text (the laptop reboot/rmmod override is local, not repo-wide)
- dev_reload.sh: remove rm_api / experimental_r620_ada / dyndbg defaults (not parameters of this module)
- dev_reload.sh: require NV_RS_DEV_RELOAD_BDF, refuse if nvidia_rs is bound to any other device

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-12-01 13:06:36 -05:00