diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-04-24 18:26:00 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-19 18:34:06 -0400 |
commit | 014ace5a85f274de7debb4c6168d69c803445e19 (patch) | |
tree | 4028be3294b95e38659f1ebba4a14457748e59f1 /drivers/gpu/nvgpu/vgpu/mm_vgpu.c | |
parent | d37e8f7dcf190f31f9c0c12583db2bb0c0d313c0 (diff) |
gpu: nvgpu: Split VM implementation out
This patch begins splitting out the VM implementation from mm_gk20a.c and
moves it to common/linux/vm.c and common/mm/vm.c. This split is necessary
because the VM code has two portions: first, an interface for the OS
specific code to use (i.e userspace mappings), and second, a set of APIs
for the driver to use (init, cleanup, etc) which are not OS specific.
This is only the beginning of the split - there's still a lot of things
that need to be carefully moved around.
JIRA NVGPU-12
JIRA NVGPU-30
Change-Id: I3b57cba245d7daf9e4326a143b9c6217e0f28c96
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1477743
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/mm_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/mm_vgpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c index cfa9e428..f4004f42 100644 --- a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c | |||
@@ -202,7 +202,7 @@ static void vgpu_locked_gmmu_unmap(struct vm_gk20a *vm, | |||
202 | static void vgpu_vm_remove_support(struct vm_gk20a *vm) | 202 | static void vgpu_vm_remove_support(struct vm_gk20a *vm) |
203 | { | 203 | { |
204 | struct gk20a *g = vm->mm->g; | 204 | struct gk20a *g = vm->mm->g; |
205 | struct mapped_buffer_node *mapped_buffer; | 205 | struct nvgpu_mapped_buf *mapped_buffer; |
206 | struct vm_reserved_va_node *va_node, *va_node_tmp; | 206 | struct vm_reserved_va_node *va_node, *va_node_tmp; |
207 | struct tegra_vgpu_cmd_msg msg; | 207 | struct tegra_vgpu_cmd_msg msg; |
208 | struct tegra_vgpu_as_share_params *p = &msg.params.as_share; | 208 | struct tegra_vgpu_as_share_params *p = &msg.params.as_share; |