diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_vgpu.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h index 280ca9c0..5f697e78 100644 --- a/include/linux/tegra_vgpu.h +++ b/include/linux/tegra_vgpu.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Tegra GPU Virtualization Interfaces to Server | 2 | * Tegra GPU Virtualization Interfaces to Server |
3 | * | 3 | * |
4 | * Copyright (c) 2014-2015, NVIDIA Corporation. All rights reserved. | 4 | * Copyright (c) 2014-2016, NVIDIA Corporation. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -74,7 +74,8 @@ enum { | |||
74 | TEGRA_VGPU_CMD_SET_MMU_DEBUG_MODE, | 74 | TEGRA_VGPU_CMD_SET_MMU_DEBUG_MODE, |
75 | TEGRA_VGPU_CMD_SET_SM_DEBUG_MODE, | 75 | TEGRA_VGPU_CMD_SET_SM_DEBUG_MODE, |
76 | TEGRA_VGPU_CMD_REG_OPS, | 76 | TEGRA_VGPU_CMD_REG_OPS, |
77 | TEGRA_VGPU_CMD_CHANNEL_SET_PRIORITY | 77 | TEGRA_VGPU_CMD_CHANNEL_SET_PRIORITY, |
78 | TEGRA_VGPU_CMD_CHANNEL_SET_RUNLIST_INTERLEAVE | ||
78 | }; | 79 | }; |
79 | 80 | ||
80 | struct tegra_vgpu_connect_params { | 81 | struct tegra_vgpu_connect_params { |
@@ -298,6 +299,12 @@ struct tegra_vgpu_channel_priority_params { | |||
298 | u32 priority; | 299 | u32 priority; |
299 | }; | 300 | }; |
300 | 301 | ||
302 | /* level follows nvgpu.h definitions */ | ||
303 | struct tegra_vgpu_channel_runlist_interleave_params { | ||
304 | u64 handle; | ||
305 | u32 level; | ||
306 | }; | ||
307 | |||
301 | struct tegra_vgpu_cmd_msg { | 308 | struct tegra_vgpu_cmd_msg { |
302 | u32 cmd; | 309 | u32 cmd; |
303 | int ret; | 310 | int ret; |
@@ -326,6 +333,7 @@ struct tegra_vgpu_cmd_msg { | |||
326 | struct tegra_vgpu_sm_debug_mode sm_debug_mode; | 333 | struct tegra_vgpu_sm_debug_mode sm_debug_mode; |
327 | struct tegra_vgpu_reg_ops_params reg_ops; | 334 | struct tegra_vgpu_reg_ops_params reg_ops; |
328 | struct tegra_vgpu_channel_priority_params channel_priority; | 335 | struct tegra_vgpu_channel_priority_params channel_priority; |
336 | struct tegra_vgpu_channel_runlist_interleave_params channel_interleave; | ||
329 | char padding[192]; | 337 | char padding[192]; |
330 | } params; | 338 | } params; |
331 | }; | 339 | }; |