diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c | 7 |
1 files changed, 4 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 ce72fb03..ec6fd875 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c | |||
@@ -14,7 +14,8 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <linux/tegra_gr_comm.h> | 17 | #include <nvgpu/vgpu/vgpu_ivc.h> |
18 | |||
18 | #include <linux/tegra_vgpu.h> | 19 | #include <linux/tegra_vgpu.h> |
19 | #include <uapi/linux/nvgpu.h> | 20 | #include <uapi/linux/nvgpu.h> |
20 | 21 | ||
@@ -42,7 +43,7 @@ int vgpu_exec_regops(struct dbg_session_gk20a *dbg_s, | |||
42 | gk20a_dbg_fn(""); | 43 | gk20a_dbg_fn(""); |
43 | BUG_ON(sizeof(*ops) != sizeof(struct tegra_vgpu_reg_op)); | 44 | BUG_ON(sizeof(*ops) != sizeof(struct tegra_vgpu_reg_op)); |
44 | 45 | ||
45 | handle = tegra_gr_comm_oob_get_ptr(tegra_gr_comm_get_server_vmid(), | 46 | handle = vgpu_ivc_oob_get_ptr(vgpu_ivc_get_server_vmid(), |
46 | TEGRA_VGPU_QUEUE_CMD, | 47 | TEGRA_VGPU_QUEUE_CMD, |
47 | &oob, &oob_size); | 48 | &oob, &oob_size); |
48 | if (!handle) | 49 | if (!handle) |
@@ -68,7 +69,7 @@ int vgpu_exec_regops(struct dbg_session_gk20a *dbg_s, | |||
68 | memcpy(ops, oob, ops_size); | 69 | memcpy(ops, oob, ops_size); |
69 | 70 | ||
70 | fail: | 71 | fail: |
71 | tegra_gr_comm_oob_put_ptr(handle); | 72 | vgpu_ivc_oob_put_ptr(handle); |
72 | return err; | 73 | return err; |
73 | } | 74 | } |
74 | 75 | ||