Commit Graph

58 Commits (c30410b1be252e1a93b21ea2a3934846024a42e8)
 

Author SHA1 Message Date
Geoffrey McRae c30410b1be [core] disable building of the userspace reset for now 4 years ago
Geoffrey McRae cacf13399f [core] refactored to centralize the lookup and reset code 4 years ago
Adam Madsen edda7f02a5 [core] hooks: zero stack-allocated struct. 4 years ago
Adam Madsen 83ca5e9ae5 [core] Zero stack-allocated struct. 4 years ago
Adam Madsen 6dec3dcbaa [core] Add device to Navi14 list 4 years ago
Adam Madsen 986e81c09e [amd] navi10: Fix PSP bootloader read at reset check 4 years ago
Geoffrey McRae adcf81eb94 [core] updated README.md with instructions and additional details 4 years ago
Geoffrey McRae b3c83ed36f [core] bumped dkms version 4 years ago
Geoffrey McRae 47b58acc57 [amd] vega20: added mode1 psp reset 4 years ago
Geoffrey McRae 4dc9a80657 [core] hook: fixed failure to initialize the kprobe struct completely 4 years ago
Geoffrey McRae 69e33e3cb8 [amd] vega20: print no SOL indicator 4 years ago
Geoffrey McRae cc8e8b3005 [core] properly handle failure to register hooks 4 years ago
Geoffrey McRae 34b4e4f446 [core] dkms version bump 4 years ago
Geoffrey McRae 254f6b06c6 [amd] vega20: cosmetics (tabs to spaces) 4 years ago
Geoffrey McRae 255660bd5b [amd] vega20: added preliminary BACO reset (untested) 4 years ago
Geoffrey McRae e45a309e01 [amd] navi10: cosmetics, put back the colon 4 years ago
Geoffrey McRae aacf8f3450 [amd] navi10: cosmetics (tabs to two spaces) 4 years ago
Geoffrey McRae fb4e65efe1 [amd] navi10: print the actual device model 4 years ago
Adam Madsen 7b2f5d76dd Small QoL logging clarification 4 years ago
Adam Madsen 67422cc5bd Log when hooks are installed, set install_hook=y by default 4 years ago
Adam Madsen 346e99246b Fix conditional guard against amdgpu module 4 years ago
Adam Madsen 1394ebdd37 Do not reset when device is under control of amdgpu. 4 years ago
Adam Madsen 8d5922b434 AMD: I think that's Navi. 4 years ago
Adam Madsen 1e5120caa4 Add polaris 11 and polaris 12 device IDs 4 years ago
Adam Madsen 9395482980 Remove unneeded logs 4 years ago
Adam Madsen f3cbc30bf0 Add DKMS config (thanks gnif) 4 years ago
Adam Madsen 5615523f26 Add install target to install module 4 years ago
Adam Madsen 25827381f4 Change exit order in attempt to prevent misc device kobj from sticking around 4 years ago
Adam Madsen c21bcddd9e AMD: disable bus resets. 4 years ago
Adam Madsen 2165913cef Add option to install hook via `make load HOOK=1` 4 years ago
Adam Madsen 2649176b4d userspace: Use `always-y` with `userprogs` to ensure it builds on 5.8. 4 years ago
Adam Madsen 81516a3241 Add additional source 4 years ago
Adam Madsen 74ea6dd018 Add option to hook device reset through ftrace 4 years ago
Adam Madsen afbc509011 AMD: allocate amd_fake_dev struct for polaris10. 4 years ago
Adam Madsen 2d08232dc2 AMD: apply polaris ops to polaris cards :) 4 years ago
Adam Madsen c46c1dd071 AMD: Add PCIE reset method for Polaris 10. 4 years ago
Adam Madsen 91ad547e08 Parse PCI devices in DBDF form. 4 years ago
Adam Madsen d0b17b2bb5 [amd] Update vega10 to use fake dev init 4 years ago
Adam Madsen 710b434e85 Remove extra tab 4 years ago
Adam Madsen 68ca4816b6 Load and parse BIOS/firmware where possible 4 years ago
Geoffrey McRae 7c1c9aa44a [amd] cosmetics 4 years ago
Geoffrey McRae 2b21a6e3cf [amd] added amdgpu_discovery and initial navi10 setup code 4 years ago
Geoffrey McRae 26e3aca758 added author entry for Adam 4 years ago
Adam Madsen 7faae1b95a Guard against common cases where vega10 does not
need to be reset.

Specifically, check if the card is already in BACO. If so, exit. If the card shows no signs of life, exit because we likely can't do anything. If the card shows signs of life, do a BACO reset.
4 years ago
Adam Madsen eb42a21118 Vega10 BACO reset should work now. 4 years ago
Adam Madsen 4ecfddfc0e Unmap mmio post reset. 4 years ago
Adam Madsen 95bcd0f0f1 Collect some precondition info 4 years ago
Adam Madsen b7554f9035 Free mutex 4 years ago
Adam Madsen db50c45f35 Store pointer to vendor struct, fix crash in lock. 4 years ago
Adam Madsen b8517880ea Implement BACO for vega10.
Additionally, imported a whole bunch of stuff from the `amdgpu` module.
4 years ago