diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 497e7ee2..608b011a 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -2524,8 +2524,8 @@ static int gr_gk20a_alloc_global_ctx_buffers(struct gk20a *g) | |||
2524 | if (err) | 2524 | if (err) |
2525 | goto clean_up; | 2525 | goto clean_up; |
2526 | 2526 | ||
2527 | if (g->ops.mm.secure_alloc) | 2527 | if (g->ops.secure_alloc) |
2528 | g->ops.mm.secure_alloc(g, | 2528 | g->ops.secure_alloc(g, |
2529 | &gr->global_ctx_buffer[CIRCULAR_VPR], | 2529 | &gr->global_ctx_buffer[CIRCULAR_VPR], |
2530 | cb_buffer_size); | 2530 | cb_buffer_size); |
2531 | 2531 | ||
@@ -2536,8 +2536,8 @@ static int gr_gk20a_alloc_global_ctx_buffers(struct gk20a *g) | |||
2536 | if (err) | 2536 | if (err) |
2537 | goto clean_up; | 2537 | goto clean_up; |
2538 | 2538 | ||
2539 | if (g->ops.mm.secure_alloc) | 2539 | if (g->ops.secure_alloc) |
2540 | g->ops.mm.secure_alloc(g, | 2540 | g->ops.secure_alloc(g, |
2541 | &gr->global_ctx_buffer[PAGEPOOL_VPR], | 2541 | &gr->global_ctx_buffer[PAGEPOOL_VPR], |
2542 | pagepool_buffer_size); | 2542 | pagepool_buffer_size); |
2543 | 2543 | ||
@@ -2548,8 +2548,8 @@ static int gr_gk20a_alloc_global_ctx_buffers(struct gk20a *g) | |||
2548 | if (err) | 2548 | if (err) |
2549 | goto clean_up; | 2549 | goto clean_up; |
2550 | 2550 | ||
2551 | if (g->ops.mm.secure_alloc) | 2551 | if (g->ops.secure_alloc) |
2552 | g->ops.mm.secure_alloc(g, | 2552 | g->ops.secure_alloc(g, |
2553 | &gr->global_ctx_buffer[ATTRIBUTE_VPR], | 2553 | &gr->global_ctx_buffer[ATTRIBUTE_VPR], |
2554 | attr_buffer_size); | 2554 | attr_buffer_size); |
2555 | 2555 | ||