diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/cde_gk20a.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c index 84b39b2d..f148c65a 100644 --- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c | |||
@@ -487,6 +487,9 @@ static int gk20a_init_cde_required_class(struct gk20a_cde_ctx *cde_ctx, | |||
487 | alloc_obj_ctx.class_num = required_class; | 487 | alloc_obj_ctx.class_num = required_class; |
488 | alloc_obj_ctx.flags = 0; | 488 | alloc_obj_ctx.flags = 0; |
489 | 489 | ||
490 | /* CDE enabled */ | ||
491 | cde_ctx->ch->cde = true; | ||
492 | |||
490 | err = gk20a_alloc_obj_ctx(cde_ctx->ch, &alloc_obj_ctx); | 493 | err = gk20a_alloc_obj_ctx(cde_ctx->ch, &alloc_obj_ctx); |
491 | if (err) { | 494 | if (err) { |
492 | gk20a_warn(&cde_ctx->pdev->dev, "cde: failed to allocate ctx. err=%d", | 495 | gk20a_warn(&cde_ctx->pdev->dev, "cde: failed to allocate ctx. err=%d", |