summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/ltc_gp10b.c')
-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 68f4eafa..3c809eaf 100644
--- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
@@ -16,7 +16,6 @@
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"
20#include "gm20b/ltc_gm20b.h" 19#include "gm20b/ltc_gm20b.h"
21#include "hw_proj_gp10b.h" 20#include "hw_proj_gp10b.h"
22#include "hw_mc_gp10b.h" 21#include "hw_mc_gp10b.h"
@@ -112,8 +111,9 @@ static int gp10b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr)
112 if (err) 111 if (err)
113 return err; 112 return err;
114 113
115 __gk20a_allocator_init(&gr->comp_tags, NULL, "comptag", 114 gk20a_allocator_init(&gr->comp_tags, "comptag",
116 1, max_comptag_lines - 1, 1, 10, 0); 115 1, /* start */
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;