diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/cde_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c index 02b1938a..4b84dc69 100644 --- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c | |||
@@ -241,7 +241,7 @@ static int gk20a_init_cde_buf(struct gk20a_cde_ctx *cde_ctx, | |||
241 | 241 | ||
242 | /* allocate buf */ | 242 | /* allocate buf */ |
243 | mem = cde_ctx->mem + cde_ctx->num_bufs; | 243 | mem = cde_ctx->mem + cde_ctx->num_bufs; |
244 | err = gk20a_gmmu_alloc_map(cde_ctx->vm, buf->num_bytes, mem); | 244 | err = gk20a_gmmu_alloc_map_sys(cde_ctx->vm, buf->num_bytes, mem); |
245 | if (err) { | 245 | if (err) { |
246 | gk20a_warn(cde_ctx->dev, "cde: could not allocate device memory. buffer idx = %d", | 246 | gk20a_warn(cde_ctx->dev, "cde: could not allocate device memory. buffer idx = %d", |
247 | cde_ctx->num_bufs); | 247 | cde_ctx->num_bufs); |