diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c index e727ee99..b614da64 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c | |||
@@ -902,7 +902,7 @@ static void gr_gp10b_commit_global_attrib_cb(struct gk20a *g, | |||
902 | int attrBufferSize; | 902 | int attrBufferSize; |
903 | 903 | ||
904 | if (gr_ctx->t18x.preempt_ctxsw_buffer.gpu_va) | 904 | if (gr_ctx->t18x.preempt_ctxsw_buffer.gpu_va) |
905 | attrBufferSize = gr_ctx->t18x.preempt_ctxsw_buffer.size; | 905 | attrBufferSize = gr_ctx->t18x.betacb_ctxsw_buffer.size; |
906 | else | 906 | else |
907 | attrBufferSize = g->ops.gr.calc_global_ctx_buffer_size(g); | 907 | attrBufferSize = g->ops.gr.calc_global_ctx_buffer_size(g); |
908 | 908 | ||