diff options
author | Bharat Nihalani <bnihalani@nvidia.com> | 2015-10-08 02:56:21 -0400 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2015-10-08 02:56:48 -0400 |
commit | 2b9d49a7d469de6bbb4d1e6513bf56fd458c3352 (patch) | |
tree | c69951facbd9094c0cc625800fef1254e98178a0 /include/linux/tegra_vgpu.h | |
parent | d01a0249c40217236497728997b9c6ce8619acad (diff) | |
parent | 3e08593d4563a3162d47c61fc2c70ab0b42fb93c (diff) |
Merge branch 'dev/dev-t18x-rebase-kernel-04' into HEAD
Change-Id: I196ec645855419c70703eaefd3d83303bbd9fae5
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include/linux/tegra_vgpu.h')
-rw-r--r-- | include/linux/tegra_vgpu.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h index 2b327d09..6fc298e0 100644 --- a/include/linux/tegra_vgpu.h +++ b/include/linux/tegra_vgpu.h | |||
@@ -64,7 +64,8 @@ enum { | |||
64 | TEGRA_VGPU_CMD_SUBMIT_RUNLIST, | 64 | TEGRA_VGPU_CMD_SUBMIT_RUNLIST, |
65 | TEGRA_VGPU_CMD_GET_ZCULL_INFO, | 65 | TEGRA_VGPU_CMD_GET_ZCULL_INFO, |
66 | TEGRA_VGPU_CMD_ZBC_SET_TABLE, | 66 | TEGRA_VGPU_CMD_ZBC_SET_TABLE, |
67 | TEGRA_VGPU_CMD_ZBC_QUERY_TABLE | 67 | TEGRA_VGPU_CMD_ZBC_QUERY_TABLE, |
68 | TEGRA_VGPU_CMD_AS_MAP_EX | ||
68 | }; | 69 | }; |
69 | 70 | ||
70 | struct tegra_vgpu_connect_params { | 71 | struct tegra_vgpu_connect_params { |
@@ -136,6 +137,25 @@ struct tegra_vgpu_as_map_params { | |||
136 | u32 ctag_offset; | 137 | u32 ctag_offset; |
137 | }; | 138 | }; |
138 | 139 | ||
140 | struct tegra_vgpu_as_map_ex_params { | ||
141 | u64 handle; | ||
142 | u64 gpu_va; | ||
143 | u64 size; | ||
144 | u32 mem_desc_count; | ||
145 | u8 pgsz_idx; | ||
146 | u8 iova; | ||
147 | u8 kind; | ||
148 | u8 cacheable; | ||
149 | u8 clear_ctags; | ||
150 | u8 prot; | ||
151 | u32 ctag_offset; | ||
152 | }; | ||
153 | |||
154 | struct tegra_vgpu_mem_desc { | ||
155 | u64 addr; | ||
156 | u64 length; | ||
157 | }; | ||
158 | |||
139 | struct tegra_vgpu_as_invalidate_params { | 159 | struct tegra_vgpu_as_invalidate_params { |
140 | u64 handle; | 160 | u64 handle; |
141 | }; | 161 | }; |
@@ -236,6 +256,7 @@ struct tegra_vgpu_cmd_msg { | |||
236 | struct tegra_vgpu_as_share_params as_share; | 256 | struct tegra_vgpu_as_share_params as_share; |
237 | struct tegra_vgpu_as_bind_share_params as_bind_share; | 257 | struct tegra_vgpu_as_bind_share_params as_bind_share; |
238 | struct tegra_vgpu_as_map_params as_map; | 258 | struct tegra_vgpu_as_map_params as_map; |
259 | struct tegra_vgpu_as_map_ex_params as_map_ex; | ||
239 | struct tegra_vgpu_as_invalidate_params as_invalidate; | 260 | struct tegra_vgpu_as_invalidate_params as_invalidate; |
240 | struct tegra_vgpu_channel_config_params channel_config; | 261 | struct tegra_vgpu_channel_config_params channel_config; |
241 | struct tegra_vgpu_ramfc_params ramfc; | 262 | struct tegra_vgpu_ramfc_params ramfc; |