summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c')
-rw-r--r--drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c
index 77b4b536..138b8fda 100644
--- a/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c
+++ b/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c
@@ -36,7 +36,7 @@
36#include "gk20a/gk20a.h" 36#include "gk20a/gk20a.h"
37#include "gk20a/gk20a_scale.h" 37#include "gk20a/gk20a_scale.h"
38 38
39#include "platform_tegra.h" 39#include "platform_gk20a_tegra.h"
40#include "gp10b/gp10b_sysfs.h" 40#include "gp10b/gp10b_sysfs.h"
41#include "gp10b/platform_gp10b.h" 41#include "gp10b/platform_gp10b.h"
42 42
@@ -163,12 +163,16 @@ static int gp10b_tegra_probe(struct device *dev)
163 163
164 gp10b_tegra_get_clocks(dev); 164 gp10b_tegra_get_clocks(dev);
165 nvgpu_linux_init_clk_support(platform->g); 165 nvgpu_linux_init_clk_support(platform->g);
166 gk20a_tegra_init_secure_alloc(platform->g);
166 167
167 return 0; 168 return 0;
168} 169}
169 170
170static int gp10b_tegra_late_probe(struct device *dev) 171static int gp10b_tegra_late_probe(struct device *dev)
171{ 172{
173 /* Cause early VPR resize */
174 gk20a_tegra_secure_page_alloc(dev);
175
172 /*Create GP10B specific sysfs*/ 176 /*Create GP10B specific sysfs*/
173 gp10b_create_sysfs(dev); 177 gp10b_create_sysfs(dev);
174 178
@@ -423,9 +427,6 @@ struct gk20a_platform gp10b_tegra_platform = {
423 427
424 .qos_notify = gk20a_scale_qos_notify, 428 .qos_notify = gk20a_scale_qos_notify,
425 429
426 .secure_alloc = gk20a_tegra_secure_alloc,
427 .secure_page_alloc = gk20a_tegra_secure_page_alloc,
428
429 .reset_assert = gp10b_tegra_reset_assert, 430 .reset_assert = gp10b_tegra_reset_assert,
430 .reset_deassert = gp10b_tegra_reset_deassert, 431 .reset_deassert = gp10b_tegra_reset_deassert,
431 432