diff options
author | Joshua Bakita <bakitajoshua@gmail.com> | 2024-09-16 15:34:41 -0400 |
---|---|---|
committer | Joshua Bakita <bakitajoshua@gmail.com> | 2024-09-16 15:34:41 -0400 |
commit | 232eafd04f272ed69d97a250c50a7bbed4d2894c (patch) | |
tree | bf1d03cd66e6f37b2c9ac9a9d48e4f359fcdd6b5 /include/os/linux/debug_bios.c | |
parent | 0b1c304e53b88fe628d350d1380a88317f071e69 (diff) |
Support printing the runlist and channels on Ampere+ GPUs
**Modifes the user API from `cat /proc/gpuX/runlist0` to
`cat /proc/gpuX/runlist0/runlist` to support runlist-scoped
registers**
- Count number of runlists via Ampere-style PTOP parsing.
- Create a ProcFS directory for each runlist, and create the runlist
printing file in this directory.
- Document the newly-added/-formatted Runlist RAM and Channel RAM
registers.
- Add a helper function `get_runlist_ram()` to obtain the location
of each runlist's registers.
- Support printing Ampere-style Channel RAM entries.
Tested on Jetson Orin (ga10b), A100, H100, and AD102 (RTX 6000 Ada)
Diffstat (limited to 'include/os/linux/debug_bios.c')
0 files changed, 0 insertions, 0 deletions