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 | 7 |
1 files changed, 3 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 8f1c5d78..34862702 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c | |||
@@ -1121,8 +1121,8 @@ 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_CTX_CLIENT, | 1124 | handle = tegra_gr_comm_oob_get_ptr(tegra_gr_comm_get_server_vmid(), |
1125 | tegra_gr_comm_get_server_vmid(), 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) { |
1128 | err = -EINVAL; | 1128 | err = -EINVAL; |
@@ -1238,8 +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_CTX_CLIENT, | 1241 | handle = tegra_gr_comm_oob_get_ptr(tegra_gr_comm_get_server_vmid(), |
1242 | tegra_gr_comm_get_server_vmid(), | ||
1243 | TEGRA_VGPU_QUEUE_CMD, | 1242 | TEGRA_VGPU_QUEUE_CMD, |
1244 | (void **)&entry, &oob_size); | 1243 | (void **)&entry, &oob_size); |
1245 | if (!handle) | 1244 | if (!handle) |