summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/cde.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/cde.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/cde.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/cde.c b/drivers/gpu/nvgpu/common/linux/cde.c
index 143e5b75..c4f678b6 100644
--- a/drivers/gpu/nvgpu/common/linux/cde.c
+++ b/drivers/gpu/nvgpu/common/linux/cde.c
@@ -1052,9 +1052,9 @@ __releases(&l->cde_app->mutex)
1052 /* map the destination buffer */ 1052 /* map the destination buffer */
1053 get_dma_buf(compbits_scatter_buf); /* a ref for nvgpu_vm_map_linux */ 1053 get_dma_buf(compbits_scatter_buf); /* a ref for nvgpu_vm_map_linux */
1054 err = nvgpu_vm_map_linux(cde_ctx->vm, compbits_scatter_buf, 0, 1054 err = nvgpu_vm_map_linux(cde_ctx->vm, compbits_scatter_buf, 0,
1055 NVGPU_AS_MAP_BUFFER_FLAGS_CACHEABLE | 1055 NVGPU_VM_MAP_CACHEABLE |
1056 NVGPU_AS_MAP_BUFFER_FLAGS_DIRECT_KIND_CTRL, 1056 NVGPU_VM_MAP_DIRECT_KIND_CTRL,
1057 NV_KIND_INVALID, 1057 NVGPU_KIND_INVALID,
1058 compbits_kind, /* incompressible kind */ 1058 compbits_kind, /* incompressible kind */
1059 gk20a_mem_flag_none, 1059 gk20a_mem_flag_none,
1060 map_offset, map_size, 1060 map_offset, map_size,
@@ -1284,7 +1284,7 @@ static int gk20a_cde_load(struct gk20a_cde_ctx *cde_ctx)
1284 /* map backing store to gpu virtual space */ 1284 /* map backing store to gpu virtual space */
1285 vaddr = nvgpu_gmmu_map(ch->vm, &gr->compbit_store.mem, 1285 vaddr = nvgpu_gmmu_map(ch->vm, &gr->compbit_store.mem,
1286 g->gr.compbit_store.mem.size, 1286 g->gr.compbit_store.mem.size,
1287 NVGPU_AS_MAP_BUFFER_FLAGS_CACHEABLE, 1287 NVGPU_VM_MAP_CACHEABLE,
1288 gk20a_mem_flag_read_only, 1288 gk20a_mem_flag_read_only,
1289 false, 1289 false,
1290 gr->compbit_store.mem.aperture); 1290 gr->compbit_store.mem.aperture);