summaryrefslogtreecommitdiffstats
path: root/include/linux/tegra_vgpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tegra_vgpu.h')
-rw-r--r--include/linux/tegra_vgpu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h
index 5c81e8c9..7b5c9e11 100644
--- a/include/linux/tegra_vgpu.h
+++ b/include/linux/tegra_vgpu.h
@@ -160,6 +160,9 @@ struct tegra_vgpu_as_map_params {
160 u32 ctag_offset; 160 u32 ctag_offset;
161}; 161};
162 162
163#define TEGRA_VGPU_MAP_CACHEABLE (1 << 0)
164#define TEGRA_VGPU_MAP_IO_COHERENT (1 << 1)
165
163struct tegra_vgpu_as_map_ex_params { 166struct tegra_vgpu_as_map_ex_params {
164 u64 handle; 167 u64 handle;
165 u64 gpu_va; 168 u64 gpu_va;
@@ -168,7 +171,7 @@ struct tegra_vgpu_as_map_ex_params {
168 u8 pgsz_idx; 171 u8 pgsz_idx;
169 u8 iova; 172 u8 iova;
170 u8 kind; 173 u8 kind;
171 u8 cacheable; 174 u32 flags;
172 u8 clear_ctags; 175 u8 clear_ctags;
173 u8 prot; 176 u8 prot;
174 u32 ctag_offset; 177 u32 ctag_offset;