From 923fdb37c54598391b54355de0fcd6ac35e5a221 Mon Sep 17 00:00:00 2001 From: Saman Sahebi Date: Wed, 19 Jul 2023 21:58:37 -0400 Subject: added offsets for lce mapping in nvdebug.h and code to read lce for each pce in nvdebug_entry.c --- nvdebug.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nvdebug.h') diff --git a/nvdebug.h b/nvdebug.h index b79ede1..6aa0f11 100644 --- a/nvdebug.h +++ b/nvdebug.h @@ -687,6 +687,8 @@ typedef union { Also see dev_ce.ref.txt of NVIDIA's open-gpu-doc for info. */ #define NV_PTOP_SCAL_NUM_CES 0x00022444 +//defined LCE->PCE mapping offset from nvgpu (same as ce_pce2lce_config_r(i) in nvgpu) +#define NV_LCE_FOR_PCE(i)(0x00104040+(i)*4) /* Physical Copy Engine (PCE) information On Pascal GPUs or newer, this register complements the above information by -- cgit v1.2.2