summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
diff options
context:
space:
mode:
authorArto Merilainen <amerilainen@nvidia.com>2014-07-28 08:58:13 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:10:38 -0400
commitccead861f2b0b679b3b38faf35e2372b74bbb334 (patch)
tree2cd59791257e73f610be7c42c4faebefecb7851b /drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
parent8554e9a9c8ba67835d023da2a9148a5af5db2b17 (diff)
gpu: nvgpu: gm20b: Store LTC configuration
Change-Id: Ia780e6a7cb3579f0d6ed2dca9949a349799535fd Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/448115 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/ltc_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/ltc_gm20b.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
index e3c003a6..683aa2ac 100644
--- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
@@ -95,6 +95,10 @@ static int gm20b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr)
95 max_comptag_lines - 1, /* length*/ 95 max_comptag_lines - 1, /* length*/
96 1); /* align */ 96 1); /* align */
97 97
98 gr->comptags_per_cacheline = comptags_per_cacheline;
99 gr->slices_per_ltc = slices_per_ltc;
100 gr->cacheline_size = cacheline_size;
101
98 return 0; 102 return 0;
99} 103}
100 104