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/vgpu/ltc_vgpu.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/vgpu/ltc_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/ltc_vgpu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c b/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c index 211e34b5..1beac216 100644 --- a/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c | |||
@@ -41,8 +41,9 @@ static int vgpu_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr) | |||
41 | if (max_comptag_lines < 2) | 41 | if (max_comptag_lines < 2) |
42 | return -ENXIO; | 42 | return -ENXIO; |
43 | 43 | ||
44 | __gk20a_allocator_init(&gr->comp_tags, NULL, "comptag", | 44 | gk20a_allocator_init(&gr->comp_tags, "comptag", |
45 | 1, max_comptag_lines - 1, 1, 10, 0); /* length*/ | 45 | 1, /* start */ |
46 | max_comptag_lines - 1); /* length*/ | ||
46 | return 0; | 47 | return 0; |
47 | } | 48 | } |
48 | 49 | ||