gpu: nvgpu: init: rename init functions

Rename init functions that still carry the gk20a moniker to use the more
appropriate nvgpu name instead.

JIRA NVGPU-2385

Change-Id: I5d40cd72943272c8b5f16b97d9a786d9c41496d4
Signed-off-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2156220
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Philip Elcan
2019-07-17 15:51:33 -04:00
committed by mobile promotions
parent 9705c86b98
commit 91187b6db2
21 changed files with 67 additions and 67 deletions

View File

@@ -440,7 +440,7 @@ int gk20a_channel_release(struct inode *inode, struct file *filp)
gk20a_idle(g);
channel_release:
gk20a_put(g);
nvgpu_put(g);
nvgpu_kfree(g, filp->private_data);
filp->private_data = NULL;
return 0;
@@ -464,7 +464,7 @@ static int __gk20a_channel_open(struct gk20a *g,
tmp_runlist_id = runlist_id;
}
g = gk20a_get(g);
g = nvgpu_get(g);
if (!g)
return -ENODEV;
@@ -508,7 +508,7 @@ static int __gk20a_channel_open(struct gk20a *g,
fail_busy:
nvgpu_kfree(g, priv);
free_ref:
gk20a_put(g);
nvgpu_put(g);
return err;
}