summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/gr_gv100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/gr_gv100.c')
-rw-r--r--drivers/gpu/nvgpu/gv100/gr_gv100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv100/gr_gv100.c b/drivers/gpu/nvgpu/gv100/gr_gv100.c
index f90fd075..0fa05714 100644
--- a/drivers/gpu/nvgpu/gv100/gr_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/gr_gv100.c
@@ -323,7 +323,7 @@ u32 gr_gv100_get_patch_slots(struct gk20a *g)
323 /* 323 /*
324 * We need this for all subcontexts 324 * We need this for all subcontexts
325 */ 325 */
326 size *= f->t19x.max_subctx_count; 326 size *= f->max_subctx_count;
327 327
328 /* 328 /*
329 * Add space for a partition mode change as well 329 * Add space for a partition mode change as well