diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/ltc_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c index 9c250a7d..5b6bff7f 100644 --- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | |||
@@ -25,7 +25,6 @@ | |||
25 | 25 | ||
26 | #include "gk20a/ltc_common.c" | 26 | #include "gk20a/ltc_common.c" |
27 | #include "gk20a/gk20a.h" | 27 | #include "gk20a/gk20a.h" |
28 | #include "gk20a/gk20a_allocator.h" | ||
29 | 28 | ||
30 | 29 | ||
31 | static int gm20b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr) | 30 | static int gm20b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr) |
@@ -90,8 +89,9 @@ static int gm20b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr) | |||
90 | if (err) | 89 | if (err) |
91 | return err; | 90 | return err; |
92 | 91 | ||
93 | __gk20a_allocator_init(&gr->comp_tags, NULL, "comptag", | 92 | err = gk20a_comptag_allocator_init(&gr->comp_tags, max_comptag_lines); |
94 | 1, max_comptag_lines - 1, 1, 10, 0); | 93 | if (err) |
94 | return err; | ||
95 | 95 | ||
96 | gr->comptags_per_cacheline = comptags_per_cacheline; | 96 | gr->comptags_per_cacheline = comptags_per_cacheline; |
97 | gr->slices_per_ltc = slices_per_ltc; | 97 | gr->slices_per_ltc = slices_per_ltc; |