diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/tegra_vgpu_t18x.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/include/linux/tegra_vgpu_t18x.h b/include/linux/tegra_vgpu_t18x.h new file mode 100644 index 00000000..121f4103 --- /dev/null +++ b/include/linux/tegra_vgpu_t18x.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* | ||
2 | * Tegra GPU Virtualization Interfaces to Server | ||
3 | * | ||
4 | * Copyright (c) 2015, NVIDIA Corporation. All rights reserved. | ||
5 | * | ||
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, | ||
8 | * version 2, as published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | * more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | #ifndef __TEGRA_VGPU_T18X_H | ||
20 | #define __TEGRA_VGPU_T18X_H | ||
21 | |||
22 | enum { | ||
23 | TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_MAIN, | ||
24 | TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_SPILL, | ||
25 | TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_PAGEPOOL, | ||
26 | TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_BETACB, | ||
27 | TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_LAST | ||
28 | }; | ||
29 | |||
30 | enum { | ||
31 | TEGRA_VGPU_GR_CTXSW_PREEMPTION_MODE_WFI, | ||
32 | TEGRA_VGPU_GR_CTXSW_PREEMPTION_MODE_GFX_GFXP, | ||
33 | TEGRA_VGPU_GR_CTXSW_PREEMPTION_MODE_COMPUTE_CTA, | ||
34 | TEGRA_VGPU_GR_CTXSW_PREEMPTION_MODE_COMPUTE_CILP, | ||
35 | TEGRA_VGPU_GR_CTXSW_PREEMPTION_MODE_LAST | ||
36 | }; | ||
37 | |||
38 | enum { | ||
39 | TEGRA_VGPU_ATTRIB_PREEMPT_CTX_SIZE = 64 | ||
40 | }; | ||
41 | |||
42 | #endif | ||