diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.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 f5f467b3..0b449692 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | |||
@@ -176,6 +176,8 @@ static struct nvgpu_flags_mapping flags_mapping[] = { | |||
176 | NVGPU_SUPPORT_TSG_SUBCONTEXTS}, | 176 | NVGPU_SUPPORT_TSG_SUBCONTEXTS}, |
177 | {NVGPU_GPU_FLAGS_SUPPORT_SCG, | 177 | {NVGPU_GPU_FLAGS_SUPPORT_SCG, |
178 | NVGPU_SUPPORT_SCG}, | 178 | NVGPU_SUPPORT_SCG}, |
179 | {NVGPU_GPU_FLAGS_SUPPORT_VPR, | ||
180 | NVGPU_SUPPORT_VPR}, | ||
179 | }; | 181 | }; |
180 | 182 | ||
181 | static u64 nvgpu_ctrl_ioctl_gpu_characteristics_flags(struct gk20a *g) | 183 | static u64 nvgpu_ctrl_ioctl_gpu_characteristics_flags(struct gk20a *g) |
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c index db30fff2..127a8ce9 100644 --- a/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c | |||
@@ -667,6 +667,7 @@ void gk20a_tegra_idle(struct device *dev) | |||
667 | void gk20a_tegra_init_secure_alloc(struct gk20a *g) | 667 | void gk20a_tegra_init_secure_alloc(struct gk20a *g) |
668 | { | 668 | { |
669 | g->ops.secure_alloc = gk20a_tegra_secure_alloc; | 669 | g->ops.secure_alloc = gk20a_tegra_secure_alloc; |
670 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_VPR, true); | ||
670 | } | 671 | } |
671 | 672 | ||
672 | #ifdef CONFIG_COMMON_CLK | 673 | #ifdef CONFIG_COMMON_CLK |