summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2018-07-06 12:41:08 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-08 00:06:25 -0400
commit59f07dcdc5480bd233d7e74ad733dc1f85d0b374 (patch)
tree40e5fc9de2c43a46fd9a960b7344d451a969b431 /drivers/gpu/nvgpu/gk20a/gk20a.h
parente899ec032e46f1b2d19b76ed27e69de3b08e4699 (diff)
gpu: nvgpu: Call handle_replayable_fault via HAL
gr_gv11b.c had a direct dependency to fb_gv11b.c because it calls FB to process replayable faults while waiting for SM lockdown. Redirect that call via HAL to remove the dependency. JIRA NVGPU-714 Change-Id: Ie6df3658f06b1f867893bc98fe581c95813f0431 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1772884 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 4aa04139..4f02ce23 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -532,6 +532,7 @@ struct gpu_ops {
532 void (*set_debug_mode)(struct gk20a *g, bool enable); 532 void (*set_debug_mode)(struct gk20a *g, bool enable);
533 void (*tlb_invalidate)(struct gk20a *g, struct nvgpu_mem *pdb); 533 void (*tlb_invalidate)(struct gk20a *g, struct nvgpu_mem *pdb);
534 void (*hub_isr)(struct gk20a *g); 534 void (*hub_isr)(struct gk20a *g);
535 void (*handle_replayable_fault)(struct gk20a *g);
535 int (*mem_unlock)(struct gk20a *g); 536 int (*mem_unlock)(struct gk20a *g);
536 int (*init_nvlink)(struct gk20a *g); 537 int (*init_nvlink)(struct gk20a *g);
537 int (*enable_nvlink)(struct gk20a *g); 538 int (*enable_nvlink)(struct gk20a *g);