mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user