gpu: nvgpu: ga10x: compute gnic_stride

GNIC register stride calculation is fixed by adding new hal to compute
the stride by getting the difference of gpc1 and gpc0 xbar_gnic strides
for ga10x GPUs.

Bug 200782045

Change-Id: Iaa84109bd9f1a974ef1af6fee136ca1fcc89bbb1
Signed-off-by: Dinesh T <dt@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2624848
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
dt
2021-11-12 06:37:42 +00:00
committed by mobile promotions
parent 6a1fd53b54
commit e1d6b8af8d
17 changed files with 165 additions and 6 deletions

View File

@@ -259,6 +259,7 @@ headers:
include/nvgpu/hw/ga100/hw_xp_ga100.h,
include/nvgpu/hw/ga100/hw_xve_ga100.h,
include/nvgpu/hw/ga100/hw_fbpa_ga100.h,
include/nvgpu/hw/ga100/hw_xbar_ga100.h,
include/nvgpu/hw/ga10b/hw_bus_ga10b.h,
include/nvgpu/hw/ga10b/hw_ccsr_ga10b.h,
include/nvgpu/hw/ga10b/hw_ce_ga10b.h,
@@ -290,4 +291,5 @@ headers:
include/nvgpu/hw/ga10b/hw_smcarb_ga10b.h,
include/nvgpu/hw/ga10b/hw_therm_ga10b.h,
include/nvgpu/hw/ga10b/hw_timer_ga10b.h,
include/nvgpu/hw/ga10b/hw_top_ga10b.h ]
include/nvgpu/hw/ga10b/hw_top_ga10b.h,
include/nvgpu/hw/ga10b/hw_xbar_ga10b.h ]