summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index fc008169..03e1d567 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -1728,7 +1728,7 @@ int gr_gk20a_update_hwpm_ctxsw_mode(struct gk20a *g,
1728 pm_ctx->mem.gpu_va = nvgpu_gmmu_map(c->vm, 1728 pm_ctx->mem.gpu_va = nvgpu_gmmu_map(c->vm,
1729 &pm_ctx->mem, 1729 &pm_ctx->mem,
1730 pm_ctx->mem.size, 1730 pm_ctx->mem.size,
1731 NVGPU_AS_MAP_BUFFER_FLAGS_CACHEABLE, 1731 NVGPU_VM_MAP_CACHEABLE,
1732 gk20a_mem_flag_none, true, 1732 gk20a_mem_flag_none, true,
1733 pm_ctx->mem.aperture); 1733 pm_ctx->mem.aperture);
1734 if (!pm_ctx->mem.gpu_va) { 1734 if (!pm_ctx->mem.gpu_va) {
@@ -2623,7 +2623,7 @@ static int gr_gk20a_map_global_ctx_buffers(struct gk20a *g,
2623 } 2623 }
2624 2624
2625 gpu_va = nvgpu_gmmu_map(ch_vm, mem, mem->size, 2625 gpu_va = nvgpu_gmmu_map(ch_vm, mem, mem->size,
2626 NVGPU_AS_MAP_BUFFER_FLAGS_CACHEABLE, 2626 NVGPU_VM_MAP_CACHEABLE,
2627 gk20a_mem_flag_none, true, mem->aperture); 2627 gk20a_mem_flag_none, true, mem->aperture);
2628 if (!gpu_va) 2628 if (!gpu_va)
2629 goto clean_up; 2629 goto clean_up;
@@ -2641,7 +2641,7 @@ static int gr_gk20a_map_global_ctx_buffers(struct gk20a *g,
2641 } 2641 }
2642 2642
2643 gpu_va = nvgpu_gmmu_map(ch_vm, mem, mem->size, 2643 gpu_va = nvgpu_gmmu_map(ch_vm, mem, mem->size,
2644 NVGPU_AS_MAP_BUFFER_FLAGS_CACHEABLE, 2644 NVGPU_VM_MAP_CACHEABLE,
2645 gk20a_mem_flag_none, false, mem->aperture); 2645 gk20a_mem_flag_none, false, mem->aperture);
2646 if (!gpu_va) 2646 if (!gpu_va)
2647 goto clean_up; 2647 goto clean_up;
@@ -2659,7 +2659,7 @@ static int gr_gk20a_map_global_ctx_buffers(struct gk20a *g,
2659 } 2659 }
2660 2660
2661 gpu_va = nvgpu_gmmu_map(ch_vm, mem, mem->size, 2661 gpu_va = nvgpu_gmmu_map(ch_vm, mem, mem->size,
2662 NVGPU_AS_MAP_BUFFER_FLAGS_CACHEABLE, 2662 NVGPU_VM_MAP_CACHEABLE,
2663 gk20a_mem_flag_none, true, mem->aperture); 2663 gk20a_mem_flag_none, true, mem->aperture);
2664 if (!gpu_va) 2664 if (!gpu_va)
2665 goto clean_up; 2665 goto clean_up;