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>
This commit is contained in:
Krishna Reddy
2016-06-08 23:05:00 -07:00
committed by Deepak Nibade
parent 4ded050bd0
commit 24a6dee36e

View File

@@ -135,11 +135,6 @@ static int gp10b_tegra_probe(struct device *dev)
}
platform->g->host1x_dev = host1x_pdev;
if (platform->g->host1x_dev)
nvhost_register_dump_device(platform->g->host1x_dev,
gk20a_debug_dump_device,
platform->g->dev);
platform->bypass_smmu = !device_is_iommuable(dev);
platform->disable_bigpage = platform->bypass_smmu;
@@ -189,11 +184,6 @@ static int gp10b_tegra_late_probe(struct device *dev)
static int gp10b_tegra_remove(struct device *dev)
{
struct gk20a_platform *platform = dev_get_drvdata(dev);
if (platform->g->host1x_dev)
nvhost_unregister_dump_device(platform->g->host1x_dev);
/* remove gk20a power subdomain from host1x */
nvhost_unregister_client_domain(dev_to_genpd(dev));
gr_gp10b_remove_sysfs(dev);