diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_gv11b.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c index b751a337..398823f3 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | |||
@@ -172,6 +172,8 @@ static struct nvgpu_flags_mapping flags_mapping[] = { | |||
172 | NVGPU_ECC_ENABLED_LTC}, | 172 | NVGPU_ECC_ENABLED_LTC}, |
173 | {NVGPU_GPU_FLAGS_SUPPORT_TSG_SUBCONTEXTS, | 173 | {NVGPU_GPU_FLAGS_SUPPORT_TSG_SUBCONTEXTS, |
174 | NVGPU_SUPPORT_TSG_SUBCONTEXTS}, | 174 | NVGPU_SUPPORT_TSG_SUBCONTEXTS}, |
175 | {NVGPU_GPU_FLAGS_SUPPORT_SCG, | ||
176 | NVGPU_SUPPORT_SCG}, | ||
175 | }; | 177 | }; |
176 | 178 | ||
177 | static u64 nvgpu_ctrl_ioctl_gpu_characteristics_flags(struct gk20a *g) | 179 | static u64 nvgpu_ctrl_ioctl_gpu_characteristics_flags(struct gk20a *g) |
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_gv11b.c b/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_gv11b.c index 749e9e81..285268a6 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_gv11b.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_gv11b.c | |||
@@ -35,6 +35,7 @@ int vgpu_gv11b_init_gpu_characteristics(struct gk20a *g) | |||
35 | 35 | ||
36 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_TSG_SUBCONTEXTS, true); | 36 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_TSG_SUBCONTEXTS, true); |
37 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_IO_COHERENCE, true); | 37 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_IO_COHERENCE, true); |
38 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_SCG, true); | ||
38 | 39 | ||
39 | return 0; | 40 | return 0; |
40 | } | 41 | } |