diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-05-11 22:28:11 -0400 |
---|---|---|
committer | Hiroshi Doyu <hdoyu@nvidia.com> | 2015-05-12 05:46:39 -0400 |
commit | aa25a952ea2b19a081fa746f043228c270f43f94 (patch) | |
tree | e640f945d82c598645b0b2c5cbc6eb194444026d /drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | |
parent | a2e852364582e9c337f52bc53ccc33877c8f3b47 (diff) |
Revert "gpu: nvgpu: New allocator for VA space"
This reverts commit 2e235ac150fa4af8632c9abf0f109a10973a0bf5.
Change-Id: I3aa745152124c2bc09c6c6dc5aeb1084ae7e08a4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/741469
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/ltc_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c index bfb1b5ab..9090be23 100644 --- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | |||
@@ -90,8 +90,9 @@ static int gm20b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr) | |||
90 | if (err) | 90 | if (err) |
91 | return err; | 91 | return err; |
92 | 92 | ||
93 | __gk20a_allocator_init(&gr->comp_tags, NULL, "comptag", | 93 | gk20a_allocator_init(&gr->comp_tags, "comptag", |
94 | 1, max_comptag_lines - 1, 1, 10, 0); | 94 | 1, /* start */ |
95 | max_comptag_lines - 1); /* length*/ | ||
95 | 96 | ||
96 | gr->comptags_per_cacheline = comptags_per_cacheline; | 97 | gr->comptags_per_cacheline = comptags_per_cacheline; |
97 | gr->slices_per_ltc = slices_per_ltc; | 98 | gr->slices_per_ltc = slices_per_ltc; |