diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/cde_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c index 7931b83f..22a422a3 100644 --- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c | |||
@@ -50,7 +50,7 @@ static void gk20a_deinit_cde_img(struct gk20a_cde_ctx *cde_ctx) | |||
50 | } | 50 | } |
51 | 51 | ||
52 | for (i = 0; i < cde_ctx->num_obj_ids; i++) | 52 | for (i = 0; i < cde_ctx->num_obj_ids; i++) |
53 | gk20a_free_obj_ctx(cde_ctx->ch, | 53 | gr_gk20a_free_obj_ctx(cde_ctx->ch, |
54 | &(struct nvgpu_free_obj_ctx_args) | 54 | &(struct nvgpu_free_obj_ctx_args) |
55 | { cde_ctx->obj_ids[i] }); | 55 | { cde_ctx->obj_ids[i] }); |
56 | 56 | ||
@@ -401,7 +401,7 @@ static int gk20a_init_cde_required_class(struct gk20a_cde_ctx *cde_ctx, | |||
401 | alloc_obj_ctx.class_num = required_class; | 401 | alloc_obj_ctx.class_num = required_class; |
402 | alloc_obj_ctx.padding = 0; | 402 | alloc_obj_ctx.padding = 0; |
403 | 403 | ||
404 | err = gk20a_alloc_obj_ctx(cde_ctx->ch, &alloc_obj_ctx); | 404 | err = gr_gk20a_alloc_obj_ctx(cde_ctx->ch, &alloc_obj_ctx); |
405 | if (err) { | 405 | if (err) { |
406 | gk20a_warn(&cde_ctx->pdev->dev, "cde: failed to allocate ctx. err=%d", | 406 | gk20a_warn(&cde_ctx->pdev->dev, "cde: failed to allocate ctx. err=%d", |
407 | err); | 407 | err); |