diff options
author | Shridhar Rasal <srasal@nvidia.com> | 2014-04-04 07:10:42 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:02 -0400 |
commit | b210a775cf41552f8bcd03ef35f1c23d53b5a0e1 (patch) | |
tree | 305b9733898c91c6369d4040a61b2be073ef0083 /drivers/gpu | |
parent | 9c5d336fb77a9a6afd7126cfae5cbdc9af2b64d4 (diff) |
gpu: nvgpu: gk20a: fix genpd name
domain name should be different from device name.
Change-Id: I6c7d6927d6fc5bada203d749f107c17043233501
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/392327
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index a144e75d..853b6a3c 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1259,7 +1259,7 @@ static int gk20a_pm_initialise_domain(struct platform_device *pdev) | |||
1259 | struct generic_pm_domain *domain = &platform->g->pd; | 1259 | struct generic_pm_domain *domain = &platform->g->pd; |
1260 | int ret = 0; | 1260 | int ret = 0; |
1261 | 1261 | ||
1262 | domain->name = kstrdup(pdev->name, GFP_KERNEL); | 1262 | domain->name = "gpu"; |
1263 | 1263 | ||
1264 | if (!platform->can_railgate) | 1264 | if (!platform->can_railgate) |
1265 | pm_domain_gov = &pm_domain_always_on_gov; | 1265 | pm_domain_gov = &pm_domain_always_on_gov; |