summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gp10b/ltc_gp10b.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
index 3c809eaf..68f4eafa 100644
--- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
@@ -16,6 +16,7 @@
16#include <linux/types.h> 16#include <linux/types.h>
17 17
18#include "gk20a/gk20a.h" 18#include "gk20a/gk20a.h"
19#include "gk20a/gk20a_allocator.h"
19#include "gm20b/ltc_gm20b.h" 20#include "gm20b/ltc_gm20b.h"
20#include "hw_proj_gp10b.h" 21#include "hw_proj_gp10b.h"
21#include "hw_mc_gp10b.h" 22#include "hw_mc_gp10b.h"
@@ -111,9 +112,8 @@ static int gp10b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr)
111 if (err) 112 if (err)
112 return err; 113 return err;
113 114
114 gk20a_allocator_init(&gr->comp_tags, "comptag", 115 __gk20a_allocator_init(&gr->comp_tags, NULL, "comptag",
115 1, /* start */ 116 1, max_comptag_lines - 1, 1, 10, 0);
116 max_comptag_lines - 1); /* length*/
117 117
118 gr->comptags_per_cacheline = comptags_per_cacheline; 118 gr->comptags_per_cacheline = comptags_per_cacheline;
119 gr->slices_per_ltc = slices_per_ltc; 119 gr->slices_per_ltc = slices_per_ltc;