mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
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:
committed by
mobile promotions
parent
9705c86b98
commit
91187b6db2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user