summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h')
-rw-r--r--drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h b/drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h
deleted file mode 100644
index b0937495..00000000
--- a/drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h
+++ /dev/null
@@ -1,40 +0,0 @@
1/*
2 * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#ifndef _MM_VGPU_H_
18#define _MM_VGPU_H_
19
20struct nvgpu_mem;
21struct channel_gk20a;
22struct vm_gk20a_mapping_batch;
23struct gk20a_as_share;
24
25void vgpu_locked_gmmu_unmap(struct vm_gk20a *vm,
26 u64 vaddr,
27 u64 size,
28 int pgsz_idx,
29 bool va_allocated,
30 int rw_flag,
31 bool sparse,
32 struct vm_gk20a_mapping_batch *batch);
33int vgpu_vm_bind_channel(struct gk20a_as_share *as_share,
34 struct channel_gk20a *ch);
35int vgpu_mm_fb_flush(struct gk20a *g);
36void vgpu_mm_l2_invalidate(struct gk20a *g);
37void vgpu_mm_l2_flush(struct gk20a *g, bool invalidate);
38void vgpu_mm_tlb_invalidate(struct gk20a *g, struct nvgpu_mem *pdb);
39void vgpu_mm_mmu_set_debug_mode(struct gk20a *g, bool enable);
40#endif