diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/hal_gv100.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/hal_gv100.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index e8be1a43..e51b4446 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c | |||
@@ -107,6 +107,7 @@ | |||
107 | #include <nvgpu/bus.h> | 107 | #include <nvgpu/bus.h> |
108 | #include <nvgpu/debug.h> | 108 | #include <nvgpu/debug.h> |
109 | #include <nvgpu/enabled.h> | 109 | #include <nvgpu/enabled.h> |
110 | #include <nvgpu/enabled_t19x.h> | ||
110 | 111 | ||
111 | #include <nvgpu/hw/gv100/hw_proj_gv100.h> | 112 | #include <nvgpu/hw/gv100/hw_proj_gv100.h> |
112 | #include <nvgpu/hw/gv100/hw_fifo_gv100.h> | 113 | #include <nvgpu/hw/gv100/hw_fifo_gv100.h> |
@@ -221,16 +222,13 @@ static int gv100_get_litter_value(struct gk20a *g, int value) | |||
221 | 222 | ||
222 | int gv100_init_gpu_characteristics(struct gk20a *g) | 223 | int gv100_init_gpu_characteristics(struct gk20a *g) |
223 | { | 224 | { |
224 | struct nvgpu_gpu_characteristics *gpu = &g->gpu_characteristics; | ||
225 | |||
226 | int err; | 225 | int err; |
227 | 226 | ||
228 | err = gk20a_init_gpu_characteristics(g); | 227 | err = gk20a_init_gpu_characteristics(g); |
229 | if (err) | 228 | if (err) |
230 | return err; | 229 | return err; |
231 | 230 | ||
232 | gpu->flags |= | 231 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_TSG_SUBCONTEXTS, true); |
233 | NVGPU_GPU_FLAGS_SUPPORT_TSG_SUBCONTEXTS; | ||
234 | 232 | ||
235 | return 0; | 233 | return 0; |
236 | } | 234 | } |