diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-11-16 12:33:43 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-11-17 15:07:51 -0500 |
commit | 7b67abb2edb606b9ad0d0ecf0d94a333770974b1 (patch) | |
tree | 9e3c9b56b3bc9dddaf3988f12bf3da0f8fd922b0 /include/linux/tegra_gpu_t19x.h | |
parent | 68ff0c8f309e79266682f96994cf83c921061f77 (diff) |
gpu: nvgpu: gv11b: support for new littler values
Add support for new litter values:
GPU_LIT_NUM_SUBCTX
GPU_LIT_NUM_SM_PER_TPC
Also updated get_litter_value api to use int
instead of enum type.
JIRA GV11B-21
Change-Id: Ide06245d03743e2d757d27d045701beb25b6707b
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1254857
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux/tegra_gpu_t19x.h')
-rw-r--r-- | include/linux/tegra_gpu_t19x.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/tegra_gpu_t19x.h b/include/linux/tegra_gpu_t19x.h new file mode 100644 index 00000000..f6157c12 --- /dev/null +++ b/include/linux/tegra_gpu_t19x.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* | ||
2 | * Tegra GPU Virtualization Interfaces to Server | ||
3 | * | ||
4 | * Copyright (c) 2016, 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_GPU_T19X_H | ||
20 | #define __TEGRA_GPU_T19X_H | ||
21 | |||
22 | #define GPU_LIT_NUM_SUBCTX 99 | ||
23 | |||
24 | #endif | ||