diff options
Diffstat (limited to 'nvdebug.h')
-rw-r--r-- | nvdebug.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -689,12 +689,20 @@ typedef union { | |||
689 | Also see dev_ce.ref.txt of NVIDIA's open-gpu-doc for info. | 689 | Also see dev_ce.ref.txt of NVIDIA's open-gpu-doc for info. |
690 | */ | 690 | */ |
691 | #define NV_PTOP_SCAL_NUM_CES 0x00022444 | 691 | #define NV_PTOP_SCAL_NUM_CES 0x00022444 |
692 | // Defined number of GRCEs for a GPU | ||
693 | # define NV_GRCE_NUM 2 | ||
692 | // Defined GRCE->CE mapping offsets from nvgpu | 694 | // Defined GRCE->CE mapping offsets from nvgpu |
693 | #define NV_GRCE_FOR_CE_GV100(i) (0x00104034+(i)*4) | 695 | #define NV_GRCE_FOR_CE(i) (0x00104034+(i)*4) |
694 | // Defined LCE->PCE mapping offset from nvgpu (same as ce_pce2lce_config_r(i) in nvgpu) | 696 | // Defined LCE->PCE mapping offset from nvgpu (same as ce_pce2lce_config_r(i) in nvgpu) |
695 | #define NV_LCE_FOR_PCE_GV100(i) (0x00104040+(i)*4) | 697 | #define NV_LCE_FOR_PCE_GV100(i) (0x00104040+(i)*4) |
696 | #define NV_LCE_FOR_PCE_GA100(i) (0x00104100+(i)*4) | 698 | #define NV_LCE_FOR_PCE_GA100(i) (0x00104100+(i)*4) |
697 | #define NV_LCE_FOR_PCE_GP100(i) (0x0010402c+(i)/2) | 699 | #define NV_LCE_FOR_PCE_GP100(i) (0x0010402c+(i)/2) |
700 | #define NV_LCE_FOR_PCE_TU104(i) (0x00104040+(i)*4) | ||
701 | // Defined struct for storing PCE index and offset for proc_create | ||
702 | struct combo { | ||
703 | uint32_t offset:32; | ||
704 | uint32_t index:32; | ||
705 | }; | ||
698 | 706 | ||
699 | /* Physical Copy Engine (PCE) information | 707 | /* Physical Copy Engine (PCE) information |
700 | On Pascal GPUs or newer, this register complements the above information by | 708 | On Pascal GPUs or newer, this register complements the above information by |