Commit Graph
6 Commits
Author SHA1 Message Date
Zagitta 4189b17711 Revert main to working state at c274e74
Revert commits 291f7fa and fc83321. Restore the complete tracked tree at c274e74981 while preserving main history.
2026-10-24 02:41:06 +02:00
Zagitta fc83321585 Refactor for broader card support and multi PLM writes 2026-10-23 22:02:58 +02:00
ZagittaandClaude Opus 5.5 c274e74981 Unlock the cards again after resume from suspend
Suspend to RAM powers the cards off, which resets the speed selectors. A
PM_POST_SUSPEND notifier, ahead of nvidia's, runs the unlock again on every
card unlocked at boot while nvidia still has it suspended. A card that kept
power, or that nvidia has already resumed, is left as it is.
gpu_unlock.resume=0 turns this off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 18:52:50 +02:00
Khoa TruongandClaude Opus 5.5 d04f5a00f3 Claim cards on older kernels and behind BME-setting firmware
Older kernels (6.8, 6.14) leave a device no driver has enabled at
PCI_UNKNOWN, so the claim refused every card with -EOPNOTSUPP. Accept
PCI_UNKNOWN when PMCSR is there to confirm D0.

Supermicro X11 AMI firmware hands every card over with BME set, whatever
its option ROM and bus master settings, so the claim refused every card
with -EBUSY. Clear it and record the cleared command as the original; the
WPR2 check still refuses a card a driver has initialised.

Tested on 4x RTX 3090 (VBIOS 94.02.59.00.94 and .DD), Ubuntu 24.04,
6.8.0-31-generic, NVIDIA 610.57.04: all four unlock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 00:43:08 -07:00
Zagitta bb1088b6b5 Add all GA102 and GA104 device ids based on user reports 2026-10-21 03:31:51 +02:00
Zagitta 0ebdb1c630 Initial public release 2026-09-28 22:29:37 +02:00