summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-10-16 15:38:46 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-18 19:01:08 -0400
commit62e133029d5a89e07e3ba5e96475c0960c0bc3dd (patch)
tree9e6cba4181f90d4abcb6b303448993c75cd8f273 /drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
parent201ccbfa8503daee9562a22f50a5b626fe4cc6a1 (diff)
gpu: nvgpu: Refactoring nvgpu_vm functions
Change required for equivalent change on nvgpu. This is required since a few HALs were added that must be populated for all chips. This patch adds those HAL definitions for gv11b, gv100, and the vgpu. JIRA NVGPU-30 JIRA NVGPU-138 Change-Id: I65374764350a5cacce8624b15d98947fada35a4a Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1579865 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
index aa661d66..80ed59a2 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
@@ -436,6 +436,8 @@ static const struct gpu_ops vgpu_gv11b_ops = {
436 .is_bar1_supported = gv11b_mm_is_bar1_supported, 436 .is_bar1_supported = gv11b_mm_is_bar1_supported,
437 .init_inst_block = gv11b_init_inst_block, 437 .init_inst_block = gv11b_init_inst_block,
438 .mmu_fault_pending = gv11b_mm_mmu_fault_pending, 438 .mmu_fault_pending = gv11b_mm_mmu_fault_pending,
439 .get_kind_invalid = gm20b_get_kind_invalid,
440 .get_kind_pitch = gm20b_get_kind_pitch,
439 .init_bar2_vm = gb10b_init_bar2_vm, 441 .init_bar2_vm = gb10b_init_bar2_vm,
440 .init_bar2_mm_hw_setup = gv11b_init_bar2_mm_hw_setup, 442 .init_bar2_mm_hw_setup = gv11b_init_bar2_mm_hw_setup,
441 .remove_bar2_vm = gv11b_mm_remove_bar2_vm, 443 .remove_bar2_vm = gv11b_mm_remove_bar2_vm,