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 f3e82243..0e178e9e 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -2348,6 +2348,9 @@ static int gr_gk20a_alloc_global_ctx_buffers(struct gk20a *g) | |||
2348 | &gr->global_ctx_buffer[ATTRIBUTE_VPR], | 2348 | &gr->global_ctx_buffer[ATTRIBUTE_VPR], |
2349 | attr_buffer_size); | 2349 | attr_buffer_size); |
2350 | 2350 | ||
2351 | if (platform->secure_buffer.destroy) | ||
2352 | platform->secure_buffer.destroy(pdev, &platform->secure_buffer); | ||
2353 | |||
2351 | gk20a_dbg_info("golden_image_size : %d", | 2354 | gk20a_dbg_info("golden_image_size : %d", |
2352 | gr->ctx_vars.golden_image_size); | 2355 | gr->ctx_vars.golden_image_size); |
2353 | 2356 | ||