diff options
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/subctx_gv11b.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c index aad2b2fc..4f8de196 100644 --- a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c | |||
@@ -62,9 +62,7 @@ int gv11b_alloc_subctx_header(struct channel_gk20a *c) | |||
62 | nvgpu_log(g, gpu_dbg_fn, "gv11b_alloc_subctx_header"); | 62 | nvgpu_log(g, gpu_dbg_fn, "gv11b_alloc_subctx_header"); |
63 | 63 | ||
64 | if (!nvgpu_mem_is_valid(&ctx->mem)) { | 64 | if (!nvgpu_mem_is_valid(&ctx->mem)) { |
65 | ret = nvgpu_dma_alloc_flags_sys(g, | 65 | ret = nvgpu_dma_alloc_sys(g, ctxsw_prog_fecs_header_v(), |
66 | 0, /* No Special flags */ | ||
67 | ctxsw_prog_fecs_header_v(), | ||
68 | &ctx->mem); | 66 | &ctx->mem); |
69 | if (ret) { | 67 | if (ret) { |
70 | nvgpu_err(g, "failed to allocate sub ctx header"); | 68 | nvgpu_err(g, "failed to allocate sub ctx header"); |