summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c
index dfdbe3ee..ce72fb03 100644
--- a/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c
+++ b/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2015-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -42,8 +42,7 @@ int vgpu_exec_regops(struct dbg_session_gk20a *dbg_s,
42 gk20a_dbg_fn(""); 42 gk20a_dbg_fn("");
43 BUG_ON(sizeof(*ops) != sizeof(struct tegra_vgpu_reg_op)); 43 BUG_ON(sizeof(*ops) != sizeof(struct tegra_vgpu_reg_op));
44 44
45 handle = tegra_gr_comm_oob_get_ptr(TEGRA_GR_COMM_CTX_CLIENT, 45 handle = tegra_gr_comm_oob_get_ptr(tegra_gr_comm_get_server_vmid(),
46 tegra_gr_comm_get_server_vmid(),
47 TEGRA_VGPU_QUEUE_CMD, 46 TEGRA_VGPU_QUEUE_CMD,
48 &oob, &oob_size); 47 &oob, &oob_size);
49 if (!handle) 48 if (!handle)