diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_vgpu.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h index b7bcc905..dbfa06d5 100644 --- a/include/linux/tegra_vgpu.h +++ b/include/linux/tegra_vgpu.h | |||
@@ -71,7 +71,8 @@ enum { | |||
71 | TEGRA_VGPU_CMD_ZBC_QUERY_TABLE, | 71 | TEGRA_VGPU_CMD_ZBC_QUERY_TABLE, |
72 | TEGRA_VGPU_CMD_AS_MAP_EX, | 72 | TEGRA_VGPU_CMD_AS_MAP_EX, |
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 | }; | 76 | }; |
76 | 77 | ||
77 | struct tegra_vgpu_connect_params { | 78 | struct tegra_vgpu_connect_params { |
@@ -264,6 +265,12 @@ struct tegra_vgpu_mmu_debug_mode { | |||
264 | u32 enable; | 265 | u32 enable; |
265 | }; | 266 | }; |
266 | 267 | ||
268 | struct tegra_vgpu_sm_debug_mode { | ||
269 | u64 handle; | ||
270 | u64 sms; | ||
271 | u32 enable; | ||
272 | }; | ||
273 | |||
267 | struct tegra_vgpu_cmd_msg { | 274 | struct tegra_vgpu_cmd_msg { |
268 | u32 cmd; | 275 | u32 cmd; |
269 | int ret; | 276 | int ret; |
@@ -289,6 +296,7 @@ struct tegra_vgpu_cmd_msg { | |||
289 | struct tegra_vgpu_zbc_query_table_params zbc_query_table; | 296 | struct tegra_vgpu_zbc_query_table_params zbc_query_table; |
290 | struct tegra_vgpu_gr_bind_ctxsw_buffers_params gr_bind_ctxsw_buffers; | 297 | struct tegra_vgpu_gr_bind_ctxsw_buffers_params gr_bind_ctxsw_buffers; |
291 | struct tegra_vgpu_mmu_debug_mode mmu_debug_mode; | 298 | struct tegra_vgpu_mmu_debug_mode mmu_debug_mode; |
299 | struct tegra_vgpu_sm_debug_mode sm_debug_mode; | ||
292 | char padding[192]; | 300 | char padding[192]; |
293 | } params; | 301 | } params; |
294 | }; | 302 | }; |