summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/cde_gk20a.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
index f148c65a..84b39b2d 100644
--- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
@@ -487,9 +487,6 @@ 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
493 err = gk20a_alloc_obj_ctx(cde_ctx->ch, &alloc_obj_ctx); 490 err = gk20a_alloc_obj_ctx(cde_ctx->ch, &alloc_obj_ctx);
494 if (err) { 491 if (err) {
495 gk20a_warn(&cde_ctx->pdev->dev, "cde: failed to allocate ctx. err=%d", 492 gk20a_warn(&cde_ctx->pdev->dev, "cde: failed to allocate ctx. err=%d",