diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/vgpu_linux.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu_linux.c b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu_linux.c index c5572603..90fbc079 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu_linux.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu_linux.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <nvgpu/soc.h> | 31 | #include <nvgpu/soc.h> |
32 | #include <nvgpu/ctxsw_trace.h> | 32 | #include <nvgpu/ctxsw_trace.h> |
33 | #include <nvgpu/defaults.h> | 33 | #include <nvgpu/defaults.h> |
34 | #include <nvgpu/ltc.h> | ||
34 | 35 | ||
35 | #include "vgpu_linux.h" | 36 | #include "vgpu_linux.h" |
36 | #include "vgpu/fecs_trace_vgpu.h" | 37 | #include "vgpu/fecs_trace_vgpu.h" |
@@ -177,6 +178,12 @@ int vgpu_pm_finalize_poweron(struct device *dev) | |||
177 | if (g->ops.ltc.init_fs_state) | 178 | if (g->ops.ltc.init_fs_state) |
178 | g->ops.ltc.init_fs_state(g); | 179 | g->ops.ltc.init_fs_state(g); |
179 | 180 | ||
181 | err = nvgpu_init_ltc_support(g); | ||
182 | if (err) { | ||
183 | nvgpu_err(g, "failed to init ltc"); | ||
184 | goto done; | ||
185 | } | ||
186 | |||
180 | err = vgpu_init_mm_support(g); | 187 | err = vgpu_init_mm_support(g); |
181 | if (err) { | 188 | if (err) { |
182 | nvgpu_err(g, "failed to init gk20a mm"); | 189 | nvgpu_err(g, "failed to init gk20a mm"); |