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

@@ -323,7 +323,7 @@ int gk20a_ctxsw_dev_open(struct inode *inode, struct file *filp)
const int vmid = 0;
l = container_of(inode->i_cdev, struct nvgpu_os_linux, ctxsw.cdev);
g = gk20a_get(&l->g);
g = nvgpu_get(&l->g);
if (!g)
return -ENODEV;
@@ -380,7 +380,7 @@ idle:
gk20a_idle(g);
free_ref:
if (err)
gk20a_put(g);
nvgpu_put(g);
return err;
}
@@ -402,7 +402,7 @@ int gk20a_ctxsw_dev_release(struct inode *inode, struct file *filp)
dev->g->ops.gr.fecs_trace.free_user_buffer(dev->g);
dev->hdr = NULL;
}
gk20a_put(g);
nvgpu_put(g);
return 0;
}