diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index da257cd4..3cf5845c 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -3084,6 +3084,7 @@ static int gr_gk20a_init_gr_config(struct gk20a *g, struct gr_gk20a *gr) | |||
3084 | goto clean_up; | 3084 | goto clean_up; |
3085 | 3085 | ||
3086 | gr->ppc_count = 0; | 3086 | gr->ppc_count = 0; |
3087 | gr->tpc_count = 0; | ||
3087 | for (gpc_index = 0; gpc_index < gr->gpc_count; gpc_index++) { | 3088 | for (gpc_index = 0; gpc_index < gr->gpc_count; gpc_index++) { |
3088 | tmp = gk20a_readl(g, gr_gpc0_fs_gpc_r()); | 3089 | tmp = gk20a_readl(g, gr_gpc0_fs_gpc_r()); |
3089 | 3090 | ||