summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-06-09 08:45:04 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:18 -0500
commitf34a8046d5f594f16eb29bc90a7ca49a66ef3c96 (patch)
tree3b4e783b1d136e822884b9620e3eea36d6dcea47 /drivers/gpu
parentbc45c8ef2ba7836eba3ffd7a911905322ed17ab4 (diff)
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c5
1 files changed, 0 insertions, 5 deletions
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 @@
21#include <uapi/linux/nvgpu.h> 21#include <uapi/linux/nvgpu.h>
22#include <linux/dma-buf.h> 22#include <linux/dma-buf.h>
23#include <linux/nvmap.h> 23#include <linux/nvmap.h>
24#include <linux/tegra_pm_domains.h>
25#include <linux/reset.h> 24#include <linux/reset.h>
26#include <soc/tegra/tegra_bpmp.h> 25#include <soc/tegra/tegra_bpmp.h>
27#include <linux/hashtable.h> 26#include <linux/hashtable.h>
@@ -172,8 +171,6 @@ static int gp10b_tegra_probe(struct device *dev)
172 171
173static int gp10b_tegra_late_probe(struct device *dev) 172static int gp10b_tegra_late_probe(struct device *dev)
174{ 173{
175 /* Make gk20a power domain a subdomain of host1x */
176 nvhost_register_client_domain(dev_to_genpd(dev));
177 /*Create GP10B specific sysfs*/ 174 /*Create GP10B specific sysfs*/
178 gp10b_create_sysfs(dev); 175 gp10b_create_sysfs(dev);
179 176
@@ -184,8 +181,6 @@ static int gp10b_tegra_late_probe(struct device *dev)
184 181
185static int gp10b_tegra_remove(struct device *dev) 182static int gp10b_tegra_remove(struct device *dev)
186{ 183{
187 /* remove gk20a power subdomain from host1x */
188 nvhost_unregister_client_domain(dev_to_genpd(dev));
189 gr_gp10b_remove_sysfs(dev); 184 gr_gp10b_remove_sysfs(dev);
190 /*Remove GP10B specific sysfs*/ 185 /*Remove GP10B specific sysfs*/
191 gp10b_remove_sysfs(dev); 186 gp10b_remove_sysfs(dev);