diff options
author | Saman Sahebi <saman63@cs.unc.edu> | 2023-07-19 21:58:37 -0400 |
---|---|---|
committer | Joshua Bakita <bakitajoshua@gmail.com> | 2023-10-29 15:45:32 -0400 |
commit | 923fdb37c54598391b54355de0fcd6ac35e5a221 (patch) | |
tree | 431df452dd82a9f5c1d40c6de95cfdc5563b4bc9 /nvdebug.h | |
parent | d533fdd9eed3147da77fb4183571e2b060e01471 (diff) |
added offsets for lce mapping in nvdebug.h and code to read lce for each pce in nvdebug_entry.c
Diffstat (limited to 'nvdebug.h')
-rw-r--r-- | nvdebug.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -687,6 +687,8 @@ typedef union { | |||
687 | Also see dev_ce.ref.txt of NVIDIA's open-gpu-doc for info. | 687 | Also see dev_ce.ref.txt of NVIDIA's open-gpu-doc for info. |
688 | */ | 688 | */ |
689 | #define NV_PTOP_SCAL_NUM_CES 0x00022444 | 689 | #define NV_PTOP_SCAL_NUM_CES 0x00022444 |
690 | //defined LCE->PCE mapping offset from nvgpu (same as ce_pce2lce_config_r(i) in nvgpu) | ||
691 | #define NV_LCE_FOR_PCE(i)(0x00104040+(i)*4) | ||
690 | 692 | ||
691 | /* Physical Copy Engine (PCE) information | 693 | /* Physical Copy Engine (PCE) information |
692 | On Pascal GPUs or newer, this register complements the above information by | 694 | On Pascal GPUs or newer, this register complements the above information by |