diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 0e21f749..ef26a74e 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -4776,9 +4776,11 @@ static int gk20a_init_gr_setup_sw(struct gk20a *g) | |||
4776 | if (err) | 4776 | if (err) |
4777 | goto clean_up; | 4777 | goto clean_up; |
4778 | 4778 | ||
4779 | err = g->ops.ltc.init_comptags(g, gr); | 4779 | if (g->ops.ltc.init_comptags) { |
4780 | if (err) | 4780 | err = g->ops.ltc.init_comptags(g, gr); |
4781 | goto clean_up; | 4781 | if (err) |
4782 | goto clean_up; | ||
4783 | } | ||
4782 | 4784 | ||
4783 | err = gr_gk20a_init_zcull(g, gr); | 4785 | err = gr_gk20a_init_zcull(g, gr); |
4784 | if (err) | 4786 | if (err) |