summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c
diff options
context:
space:
mode:
authorSami Kiminki <skiminki@nvidia.com>2017-11-06 06:44:44 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-08 12:09:19 -0500
commit075852f042b9b3a3d48180378e6d2a709708cc41 (patch)
tree90253f69bf83caa10abc50638dc50bed3e53ab93 /drivers/gpu/nvgpu/gv11b/subctx_gv11b.c
parentbcd78a0be617be07234e3ef4925cecaef66f2fa4 (diff)
gpu: nvgpu: Switch to newer NVGPU_AS_MAP_BUFFER flags
Switch two cases using the old NVGPU_MAP_BUFFER_FLAGS_CACHEABLE_* flags to the newer definitions, that is, NVGPU_AS_MAP_BUFFER_FLAGS_CACHEABLE. The legacy NVGPU_MAP_BUFFER_FLAGS_* definitions have been deleted. Bug 1902982 Change-Id: Ifbd2678b10005b4af2375600888469b01dd09f4e Signed-off-by: Sami Kiminki <skiminki@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1592655 Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/subctx_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/subctx_gv11b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c
index 4951d3a4..864e24f0 100644
--- a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c
@@ -75,7 +75,7 @@ int gv11b_alloc_subctx_header(struct channel_gk20a *c)
75 ctx->mem.gpu_va = nvgpu_gmmu_map(c->vm, 75 ctx->mem.gpu_va = nvgpu_gmmu_map(c->vm,
76 &ctx->mem, 76 &ctx->mem,
77 ctx->mem.size, 77 ctx->mem.size,
78 NVGPU_MAP_BUFFER_FLAGS_CACHEABLE_FALSE, 78 0, /* not GPU-cacheable */
79 gk20a_mem_flag_none, true, 79 gk20a_mem_flag_none, true,
80 ctx->mem.aperture); 80 ctx->mem.aperture);
81 if (!ctx->mem.gpu_va) { 81 if (!ctx->mem.gpu_va) {