summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-06-22 15:58:43 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-30 21:34:58 -0400
commit82c0c96290602b1baf296133c7f55ae1848e433a (patch)
tree1f32dc8571ce777c50984be1194c68ddeea73b38 /drivers/gpu/nvgpu/gk20a/mm_gk20a.c
parent3ffcadc8dd6152d4ce2677b4e5d8e043a3df58ac (diff)
gpu: nvgpu: Remove gk20a support
Remove gk20a support. Leave only gk20a code which is reused by other GPUs. JIRA NVGPU-38 Change-Id: I3d5f2bc9f71cd9f161e64436561a5eadd5786a3b Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master/r/1507927 GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
index 5ffa3e2f..fa6b5109 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
@@ -2545,27 +2545,3 @@ clean_up:
2545 dma_buf_put(dmabuf); 2545 dma_buf_put(dmabuf);
2546 return err; 2546 return err;
2547} 2547}
2548
2549static bool gk20a_mm_is_bar1_supported(struct gk20a *g)
2550{
2551 return true;
2552}
2553
2554void gk20a_init_mm(struct gpu_ops *gops)
2555{
2556 gops->mm.gmmu_map = gk20a_locked_gmmu_map;
2557 gops->mm.gmmu_unmap = gk20a_locked_gmmu_unmap;
2558 gops->mm.vm_bind_channel = gk20a_vm_bind_channel;
2559 gops->mm.fb_flush = gk20a_mm_fb_flush;
2560 gops->mm.l2_invalidate = gk20a_mm_l2_invalidate;
2561 gops->mm.l2_flush = gk20a_mm_l2_flush;
2562 gops->mm.cbc_clean = gk20a_mm_cbc_clean;
2563 gops->mm.get_iova_addr = gk20a_mm_iova_addr;
2564 gops->mm.get_physical_addr_bits = gk20a_mm_get_physical_addr_bits;
2565 gops->mm.get_mmu_levels = gk20a_mm_get_mmu_levels;
2566 gops->mm.init_pdb = gk20a_mm_init_pdb;
2567 gops->mm.init_mm_setup_hw = gk20a_init_mm_setup_hw;
2568 gops->mm.init_inst_block = gk20a_init_inst_block;
2569 gops->mm.is_bar1_supported = gk20a_mm_is_bar1_supported;
2570 gops->mm.mmu_fault_pending = gk20a_fifo_mmu_fault_pending;
2571}