gpu: nvgpu: rename tsg_gk20a and channel_gk20a structs

rename struct tsg_gk20a to struct nvgpu_tsg and rename struct
channel_gk20a to struct nvgpu_channel

Jira NVGPU-3248

Change-Id: I2a227347d249f9eea59223d82f09eae23dfc1306
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2112424
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Debarshi Dutta
2019-05-06 10:06:09 +05:30
committed by mobile promotions
parent 400c10164e
commit 17486ec1f6
156 changed files with 1063 additions and 1063 deletions

View File

@@ -98,7 +98,7 @@ __must_hold(&cde_app->mutex)
{
struct nvgpu_os_linux *l = cde_ctx->l;
struct gk20a *g = &l->g;
struct channel_gk20a *ch = cde_ctx->ch;
struct nvgpu_channel *ch = cde_ctx->ch;
struct vm_gk20a *vm = ch->vm;
struct nvgpu_cbc *cbc = g->cbc;
@@ -1248,7 +1248,7 @@ exit_idle:
return err;
}
static void gk20a_cde_finished_ctx_cb(struct channel_gk20a *ch, void *data)
static void gk20a_cde_finished_ctx_cb(struct nvgpu_channel *ch, void *data)
__acquires(&cde_app->mutex)
__releases(&cde_app->mutex)
{
@@ -1309,8 +1309,8 @@ static int gk20a_cde_load(struct gk20a_cde_ctx *cde_ctx)
struct gk20a *g = &l->g;
struct nvgpu_cbc *cbc = g->cbc;
struct nvgpu_firmware *img;
struct channel_gk20a *ch;
struct tsg_gk20a *tsg;
struct nvgpu_channel *ch;
struct nvgpu_tsg *tsg;
struct nvgpu_setup_bind_args setup_bind_args;
int err = 0;
u64 vaddr;