summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
index 4ff6125b..14876296 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -332,7 +332,7 @@ const struct gk20a_mmu_level gk20a_mm_levels_128k[] = {
332 {.update_entry = NULL} 332 {.update_entry = NULL}
333}; 333};
334 334
335int __gk20a_vm_bind_channel(struct vm_gk20a *vm, struct channel_gk20a *ch) 335int gk20a_vm_bind_channel(struct vm_gk20a *vm, struct channel_gk20a *ch)
336{ 336{
337 int err = 0; 337 int err = 0;
338 338
@@ -350,12 +350,6 @@ int __gk20a_vm_bind_channel(struct vm_gk20a *vm, struct channel_gk20a *ch)
350 return err; 350 return err;
351} 351}
352 352
353int gk20a_vm_bind_channel(struct gk20a_as_share *as_share,
354 struct channel_gk20a *ch)
355{
356 return __gk20a_vm_bind_channel(as_share->vm, ch);
357}
358
359void gk20a_mm_init_pdb(struct gk20a *g, struct nvgpu_mem *inst_block, 353void gk20a_mm_init_pdb(struct gk20a *g, struct nvgpu_mem *inst_block,
360 struct vm_gk20a *vm) 354 struct vm_gk20a *vm)
361{ 355{