diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c index 34862702..1fd3e34f 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c | |||
@@ -1121,7 +1121,7 @@ static int vgpu_gr_suspend_resume_contexts(struct gk20a *g, | |||
1121 | nvgpu_mutex_acquire(&g->dbg_sessions_lock); | 1121 | nvgpu_mutex_acquire(&g->dbg_sessions_lock); |
1122 | nvgpu_mutex_acquire(&dbg_s->ch_list_lock); | 1122 | nvgpu_mutex_acquire(&dbg_s->ch_list_lock); |
1123 | 1123 | ||
1124 | handle = tegra_gr_comm_oob_get_ptr(tegra_gr_comm_get_server_vmid(), | 1124 | handle = vgpu_ivc_oob_get_ptr(vgpu_ivc_get_server_vmid(), |
1125 | TEGRA_VGPU_QUEUE_CMD, | 1125 | TEGRA_VGPU_QUEUE_CMD, |
1126 | (void **)&oob, &oob_size); | 1126 | (void **)&oob, &oob_size); |
1127 | if (!handle) { | 1127 | if (!handle) { |
@@ -1166,7 +1166,7 @@ static int vgpu_gr_suspend_resume_contexts(struct gk20a *g, | |||
1166 | 1166 | ||
1167 | done: | 1167 | done: |
1168 | if (handle) | 1168 | if (handle) |
1169 | tegra_gr_comm_oob_put_ptr(handle); | 1169 | vgpu_ivc_oob_put_ptr(handle); |
1170 | nvgpu_mutex_release(&dbg_s->ch_list_lock); | 1170 | nvgpu_mutex_release(&dbg_s->ch_list_lock); |
1171 | nvgpu_mutex_release(&g->dbg_sessions_lock); | 1171 | nvgpu_mutex_release(&g->dbg_sessions_lock); |
1172 | *ctx_resident_ch_fd = channel_fd; | 1172 | *ctx_resident_ch_fd = channel_fd; |
@@ -1238,7 +1238,7 @@ int vgpu_gr_init_sm_id_table(struct gk20a *g) | |||
1238 | return err; | 1238 | return err; |
1239 | } | 1239 | } |
1240 | 1240 | ||
1241 | handle = tegra_gr_comm_oob_get_ptr(tegra_gr_comm_get_server_vmid(), | 1241 | handle = vgpu_ivc_oob_get_ptr(vgpu_ivc_get_server_vmid(), |
1242 | TEGRA_VGPU_QUEUE_CMD, | 1242 | TEGRA_VGPU_QUEUE_CMD, |
1243 | (void **)&entry, &oob_size); | 1243 | (void **)&entry, &oob_size); |
1244 | if (!handle) | 1244 | if (!handle) |
@@ -1261,7 +1261,7 @@ int vgpu_gr_init_sm_id_table(struct gk20a *g) | |||
1261 | sm_info->sm_index = entry->sm_index; | 1261 | sm_info->sm_index = entry->sm_index; |
1262 | sm_info->global_tpc_index = entry->global_tpc_index; | 1262 | sm_info->global_tpc_index = entry->global_tpc_index; |
1263 | } | 1263 | } |
1264 | tegra_gr_comm_oob_put_ptr(handle); | 1264 | vgpu_ivc_oob_put_ptr(handle); |
1265 | 1265 | ||
1266 | return 0; | 1266 | return 0; |
1267 | } | 1267 | } |