diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-07-06 12:41:08 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-08 00:06:25 -0400 |
commit | 59f07dcdc5480bd233d7e74ad733dc1f85d0b374 (patch) | |
tree | 40e5fc9de2c43a46fd9a960b7344d451a969b431 /drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |
parent | e899ec032e46f1b2d19b76ed27e69de3b08e4699 (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/gv11b/hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 9e9387d0..5bfa85da 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -439,6 +439,7 @@ static const struct gpu_ops gv11b_ops = { | |||
439 | .set_debug_mode = gm20b_fb_set_debug_mode, | 439 | .set_debug_mode = gm20b_fb_set_debug_mode, |
440 | .tlb_invalidate = gk20a_fb_tlb_invalidate, | 440 | .tlb_invalidate = gk20a_fb_tlb_invalidate, |
441 | .hub_isr = gv11b_fb_hub_isr, | 441 | .hub_isr = gv11b_fb_hub_isr, |
442 | .handle_replayable_fault = gv11b_fb_handle_replayable_mmu_fault, | ||
442 | .mem_unlock = NULL, | 443 | .mem_unlock = NULL, |
443 | .enable_hub_intr = gv11b_fb_enable_hub_intr, | 444 | .enable_hub_intr = gv11b_fb_enable_hub_intr, |
444 | .disable_hub_intr = gv11b_fb_disable_hub_intr, | 445 | .disable_hub_intr = gv11b_fb_disable_hub_intr, |