summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-05-11 22:27:34 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:05 -0500
commit5e18ae63dbb9d6cdb0561d251e2d301c35af6e03 (patch)
tree0f9abfaed242ee3a3bf69236129e2ce109d002ae /drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
parent74bdb403274e897731d1a03c4f3a6cfaff8448d5 (diff)
Revert "gpu: nvgpu: gp10b part of new VA allocator"
This reverts commit 3a4f0285c7e9212b394b2c1b151987a7084de927. Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Change-Id: I886e434ce98e85f99b0a77749179e31c0bd00620 Reviewed-on: http://git-master/r/741468 Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com> Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
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;