summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
authorKrishna Reddy <vdumpa@nvidia.com>2016-06-09 02:05:00 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:17 -0500
commit24a6dee36ea943d9f7b00cbbebcc0798ed0ee0fc (patch)
tree56e728560c49cbd419ba10bf6298f26ea72a5b1d /drivers/gpu/nvgpu
parent4ded050bd04b8c380f350631745919b674deb16f (diff)
Revert "gpu: nvgpu: register to nvhost for debug dump"
This reverts commit fe3adf3d0a72f936788b98365557783b53ecb6ed. This revert is fixing the Vulkan 1.0.1 CTS failures. Bug 200196104 Change-Id: I8cc90ac9dc3d29a08341f37e83277a0b431e2187 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/1161577 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
index 952b79b5..b9f50817 100644
--- a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
+++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
@@ -135,11 +135,6 @@ static int gp10b_tegra_probe(struct device *dev)
135 } 135 }
136 136
137 platform->g->host1x_dev = host1x_pdev; 137 platform->g->host1x_dev = host1x_pdev;
138 if (platform->g->host1x_dev)
139 nvhost_register_dump_device(platform->g->host1x_dev,
140 gk20a_debug_dump_device,
141 platform->g->dev);
142
143 platform->bypass_smmu = !device_is_iommuable(dev); 138 platform->bypass_smmu = !device_is_iommuable(dev);
144 platform->disable_bigpage = platform->bypass_smmu; 139 platform->disable_bigpage = platform->bypass_smmu;
145 140
@@ -189,11 +184,6 @@ static int gp10b_tegra_late_probe(struct device *dev)
189 184
190static int gp10b_tegra_remove(struct device *dev) 185static int gp10b_tegra_remove(struct device *dev)
191{ 186{
192 struct gk20a_platform *platform = dev_get_drvdata(dev);
193
194 if (platform->g->host1x_dev)
195 nvhost_unregister_dump_device(platform->g->host1x_dev);
196
197 /* remove gk20a power subdomain from host1x */ 187 /* remove gk20a power subdomain from host1x */
198 nvhost_unregister_client_domain(dev_to_genpd(dev)); 188 nvhost_unregister_client_domain(dev_to_genpd(dev));
199 gr_gp10b_remove_sysfs(dev); 189 gr_gp10b_remove_sysfs(dev);