From f34a8046d5f594f16eb29bc90a7ca49a66ef3c96 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Thu, 9 Jun 2016 18:15:04 +0530 Subject: gpu: nvgpu: clean up pm_domain code NvGPU is moving to use runtime PM only for its power management Remove pm_domain calls to register to nvhost Jira DNVGPU-57 Change-Id: Idd01b680af0e8fd601801150fc663afa53b7ce6f Signed-off-by: Deepak Nibade Reviewed-on: http://git-master/r/1163217 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers') diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c index e8ecb043..dfd1f8a5 100644 --- a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c +++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include @@ -172,8 +171,6 @@ static int gp10b_tegra_probe(struct device *dev) static int gp10b_tegra_late_probe(struct device *dev) { - /* Make gk20a power domain a subdomain of host1x */ - nvhost_register_client_domain(dev_to_genpd(dev)); /*Create GP10B specific sysfs*/ gp10b_create_sysfs(dev); @@ -184,8 +181,6 @@ static int gp10b_tegra_late_probe(struct device *dev) static int gp10b_tegra_remove(struct device *dev) { - /* remove gk20a power subdomain from host1x */ - nvhost_unregister_client_domain(dev_to_genpd(dev)); gr_gp10b_remove_sysfs(dev); /*Remove GP10B specific sysfs*/ gp10b_remove_sysfs(dev); -- cgit v1.2.2