diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_vgpu.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h index b0e25c60..280ca9c0 100644 --- a/include/linux/tegra_vgpu.h +++ b/include/linux/tegra_vgpu.h | |||
@@ -73,7 +73,8 @@ enum { | |||
73 | TEGRA_VGPU_CMD_CHANNEL_BIND_GR_CTXSW_BUFFERS, | 73 | TEGRA_VGPU_CMD_CHANNEL_BIND_GR_CTXSW_BUFFERS, |
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 | }; | 78 | }; |
78 | 79 | ||
79 | struct tegra_vgpu_connect_params { | 80 | struct tegra_vgpu_connect_params { |
@@ -292,6 +293,11 @@ struct tegra_vgpu_reg_ops_params { | |||
292 | u32 is_profiler; | 293 | u32 is_profiler; |
293 | }; | 294 | }; |
294 | 295 | ||
296 | struct tegra_vgpu_channel_priority_params { | ||
297 | u64 handle; | ||
298 | u32 priority; | ||
299 | }; | ||
300 | |||
295 | struct tegra_vgpu_cmd_msg { | 301 | struct tegra_vgpu_cmd_msg { |
296 | u32 cmd; | 302 | u32 cmd; |
297 | int ret; | 303 | int ret; |
@@ -319,6 +325,7 @@ struct tegra_vgpu_cmd_msg { | |||
319 | struct tegra_vgpu_mmu_debug_mode mmu_debug_mode; | 325 | struct tegra_vgpu_mmu_debug_mode mmu_debug_mode; |
320 | struct tegra_vgpu_sm_debug_mode sm_debug_mode; | 326 | struct tegra_vgpu_sm_debug_mode sm_debug_mode; |
321 | struct tegra_vgpu_reg_ops_params reg_ops; | 327 | struct tegra_vgpu_reg_ops_params reg_ops; |
328 | struct tegra_vgpu_channel_priority_params channel_priority; | ||
322 | char padding[192]; | 329 | char padding[192]; |
323 | } params; | 330 | } params; |
324 | }; | 331 | }; |