summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index 57a02622..28236cb9 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -2785,7 +2785,7 @@ int gr_gk20a_alloc_gr_ctx(struct gk20a *g,
2785 if (!gr_ctx) 2785 if (!gr_ctx)
2786 return -ENOMEM; 2786 return -ENOMEM;
2787 2787
2788 err = gk20a_gmmu_alloc_attr_sys(g, DMA_ATTR_NO_KERNEL_MAPPING, 2788 err = gk20a_gmmu_alloc_attr(g, DMA_ATTR_NO_KERNEL_MAPPING,
2789 gr->ctx_vars.buffer_total_size, 2789 gr->ctx_vars.buffer_total_size,
2790 &gr_ctx->mem); 2790 &gr_ctx->mem);
2791 if (err) 2791 if (err)