diff options
author | Sami Kiminki <skiminki@nvidia.com> | 2017-12-29 15:46:47 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-03 04:38:10 -0500 |
commit | 7240b3c2515413583722e35f9ef2a7745961531d (patch) | |
tree | e540f9ceac22e61a7e04776146ebd333770522a0 /drivers/gpu/nvgpu/common/linux | |
parent | 86691b59c6fae2b091855c0f4d44079cad8529b1 (diff) |
gpu: nvgpu: Enable secure alloc for GV11b
Kernel needs to be able to allocate VPR memory for buffers for
protected contexts. So, let's call gk20a_tegra_init_secure_alloc
and enable VPR for GV11B.
Bug 2039456
Bug 2040513
Change-Id: Ie27d8f04b1a414c36b42516ce3147d38d8472d54
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1628566
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/platform_gv11b_tegra.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gv11b_tegra.c b/drivers/gpu/nvgpu/common/linux/platform_gv11b_tegra.c index b9298aee..97bc87f9 100644 --- a/drivers/gpu/nvgpu/common/linux/platform_gv11b_tegra.c +++ b/drivers/gpu/nvgpu/common/linux/platform_gv11b_tegra.c | |||
@@ -94,6 +94,7 @@ static int gv11b_tegra_probe(struct device *dev) | |||
94 | 94 | ||
95 | gp10b_tegra_get_clocks(dev); | 95 | gp10b_tegra_get_clocks(dev); |
96 | nvgpu_linux_init_clk_support(platform->g); | 96 | nvgpu_linux_init_clk_support(platform->g); |
97 | gk20a_tegra_init_secure_alloc(platform->g); | ||
97 | 98 | ||
98 | return 0; | 99 | return 0; |
99 | } | 100 | } |