diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index fdd18d23..672ea521 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -1632,6 +1632,9 @@ int gr_gk20a_load_golden_ctx_image(struct gk20a *g, | |||
1632 | if (!ctx_ptr) | 1632 | if (!ctx_ptr) |
1633 | return -ENOMEM; | 1633 | return -ENOMEM; |
1634 | 1634 | ||
1635 | if (g->ops.gr.enable_cde_in_fecs && c->cde) | ||
1636 | g->ops.gr.enable_cde_in_fecs(ctx_ptr); | ||
1637 | |||
1635 | for (i = 0; i < gr->ctx_vars.golden_image_size / 4; i++) | 1638 | for (i = 0; i < gr->ctx_vars.golden_image_size / 4; i++) |
1636 | gk20a_mem_wr32(ctx_ptr, i, gr->ctx_vars.local_golden_image[i]); | 1639 | gk20a_mem_wr32(ctx_ptr, i, gr->ctx_vars.local_golden_image[i]); |
1637 | 1640 | ||