summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gv11b/platform_gv11b_tegra.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/platform_gv11b_tegra.c b/drivers/gpu/nvgpu/gv11b/platform_gv11b_tegra.c
index ab87d66f..75b72992 100644
--- a/drivers/gpu/nvgpu/gv11b/platform_gv11b_tegra.c
+++ b/drivers/gpu/nvgpu/gv11b/platform_gv11b_tegra.c
@@ -14,12 +14,10 @@
14 */ 14 */
15 15
16#include <linux/of_platform.h> 16#include <linux/of_platform.h>
17#include <linux/nvhost.h>
18#include <linux/debugfs.h> 17#include <linux/debugfs.h>
19#include <linux/platform_data/tegra_edp.h> 18#include <linux/platform_data/tegra_edp.h>
20#include <linux/dma-buf.h> 19#include <linux/dma-buf.h>
21#include <linux/nvmap.h> 20#include <linux/nvmap.h>
22#include <linux/tegra_pm_domains.h>
23#include <linux/reset.h> 21#include <linux/reset.h>
24#include <linux/hashtable.h> 22#include <linux/hashtable.h>
25 23
@@ -57,22 +55,6 @@ static int gv11b_tegra_probe(struct device *dev)
57 return 0; 55 return 0;
58} 56}
59 57
60static int gv11b_tegra_late_probe(struct device *dev)
61{
62 /* Make gk20a power domain a subdomain of host1x */
63 nvhost_register_client_domain(dev_to_genpd(dev));
64 return 0;
65}
66
67static int gv11b_tegra_remove(struct device *dev)
68{
69 /* remove gk20a power subdomain from host1x */
70 nvhost_unregister_client_domain(dev_to_genpd(dev));
71
72 return 0;
73
74}
75
76static bool gv11b_tegra_is_railgated(struct device *dev) 58static bool gv11b_tegra_is_railgated(struct device *dev)
77{ 59{
78 bool ret = false; 60 bool ret = false;
@@ -105,8 +87,6 @@ struct gk20a_platform t19x_gpu_tegra_platform = {
105 .ptimer_src_freq = 31250000, 87 .ptimer_src_freq = 31250000,
106 88
107 .probe = gv11b_tegra_probe, 89 .probe = gv11b_tegra_probe,
108 .late_probe = gv11b_tegra_late_probe,
109 .remove = gv11b_tegra_remove,
110 90
111 /* power management callbacks */ 91 /* power management callbacks */
112 .suspend = gv11b_tegra_suspend, 92 .suspend = gv11b_tegra_suspend,