diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-04-30 12:52:37 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:05 -0500 |
commit | 648c097b965976d1f94864851acf8e6f43a28c60 (patch) | |
tree | 96cbf3a906edc57d06d80999047a3d3569de16a3 | |
parent | 58613244d2f0ea903cb0209deb8ea05a4c7c318a (diff) |
gpu: nvgpu: gp10b: Define VPR allocator
VPR allocator needs to be used when allocating graphics context for
VPR channels. Define it for gp10b.
Bug 1625090
Change-Id: Ie2e3a865c310c34c629627891ac0b579f299983f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/737846
Reviewed-by: Automatic_Commit_Validation_User
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c index 58b55d4b..efecb1e3 100644 --- a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c +++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/tegra_pm_domains.h> | 26 | #include <linux/tegra_pm_domains.h> |
27 | #include "gk20a/platform_gk20a.h" | 27 | #include "gk20a/platform_gk20a.h" |
28 | #include "gk20a/gk20a.h" | 28 | #include "gk20a/gk20a.h" |
29 | #include "platform_tegra.h" | ||
29 | 30 | ||
30 | static int gp10b_tegra_probe(struct platform_device *pdev) | 31 | static int gp10b_tegra_probe(struct platform_device *pdev) |
31 | { | 32 | { |
@@ -103,4 +104,7 @@ struct gk20a_platform t18x_gpu_tegra_platform = { | |||
103 | .default_big_page_size = SZ_64K, | 104 | .default_big_page_size = SZ_64K, |
104 | 105 | ||
105 | .has_cde = true, | 106 | .has_cde = true, |
107 | |||
108 | .secure_alloc = gk20a_tegra_secure_alloc, | ||
109 | .secure_page_alloc = gk20a_tegra_secure_page_alloc, | ||
106 | }; | 110 | }; |