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 <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1163217
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Deepak Nibade
2016-06-09 18:15:04 +05:30
parent bc45c8ef2b
commit f34a8046d5

View File

@@ -21,7 +21,6 @@
#include <uapi/linux/nvgpu.h> #include <uapi/linux/nvgpu.h>
#include <linux/dma-buf.h> #include <linux/dma-buf.h>
#include <linux/nvmap.h> #include <linux/nvmap.h>
#include <linux/tegra_pm_domains.h>
#include <linux/reset.h> #include <linux/reset.h>
#include <soc/tegra/tegra_bpmp.h> #include <soc/tegra/tegra_bpmp.h>
#include <linux/hashtable.h> #include <linux/hashtable.h>
@@ -172,8 +171,6 @@ static int gp10b_tegra_probe(struct device *dev)
static int gp10b_tegra_late_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*/ /*Create GP10B specific sysfs*/
gp10b_create_sysfs(dev); 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) 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); gr_gp10b_remove_sysfs(dev);
/*Remove GP10B specific sysfs*/ /*Remove GP10B specific sysfs*/
gp10b_remove_sysfs(dev); gp10b_remove_sysfs(dev);