aboutsummaryrefslogtreecommitdiffstats
path: root/nvdebug_linux.c
Commit message (Collapse)AuthorAge
* Remove dependency on Jetson (nvgpu) driver internalsJoshua Bakita2024-09-25
| | | | | | | | | | | | For integrated (Jetson) GPUs: - Directly retrieve and map GPU register region 0 - Directly check GPU power-on state before a register read/write - Resume the GPU as needed for a register read/write Most nvgpu APIs can now be called on TX2+ integrated GPUs without first having to start some task on the GPU to make it non-suspended. Tested on Jetson TX1, TX2, Xavier, and Orin.
* Correctly check for read errors in the nvdebug_read* functionsJoshua Bakita2024-09-19
| | | | Follows how NVIDIA's open-source GPU driver checks for bad reads.
* Linux 5.17+ support and allow including nvdebug.h independentlyJoshua Bakita2024-04-11
- Move Linux-specific functions to nvdebug_linux.h and .c - Workaround PDE_DATA() being pde_data() on Linux 5.17+