summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nvgpu-t18x.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/nvgpu-t18x.h')
-rw-r--r--include/uapi/linux/nvgpu-t18x.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/include/uapi/linux/nvgpu-t18x.h b/include/uapi/linux/nvgpu-t18x.h
index b2a75143..6116ec61 100644
--- a/include/uapi/linux/nvgpu-t18x.h
+++ b/include/uapi/linux/nvgpu-t18x.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * NVGPU Public Interface Header 2 * NVGPU Public Interface Header
3 * 3 *
4 * Copyright (c) 2011-2014, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 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, 7 * under the terms and conditions of the GNU General Public License,
@@ -43,6 +43,21 @@
43#define NVGPU_ALLOC_OBJ_FLAGS_GFXP (1 << 1) 43#define NVGPU_ALLOC_OBJ_FLAGS_GFXP (1 << 1)
44#define NVGPU_ALLOC_OBJ_FLAGS_CILP (1 << 2) 44#define NVGPU_ALLOC_OBJ_FLAGS_CILP (1 << 2)
45 45
46/* SM LRF ECC is enabled */
47#define NVGPU_GPU_FLAGS_ECC_ENABLED_SM_LRF (1ULL << 60)
48/* SM SHM ECC is enabled */
49#define NVGPU_GPU_FLAGS_ECC_ENABLED_SM_SHM (1ULL << 61)
50/* TEX ECC is enabled */
51#define NVGPU_GPU_FLAGS_ECC_ENABLED_TEX (1ULL << 62)
52/* L2 ECC is enabled */
53#define NVGPU_GPU_FLAGS_ECC_ENABLED_LTC (1ULL << 63)
54/* All types of ECC are enabled */
55#define NVGPU_GPU_FLAGS_ALL_ECC_ENABLED \
56 (NVGPU_GPU_FLAGS_ECC_ENABLED_SM_LRF | \
57 NVGPU_GPU_FLAGS_ECC_ENABLED_SM_SHM | \
58 NVGPU_GPU_FLAGS_ECC_ENABLED_TEX | \
59 NVGPU_GPU_FLAGS_ECC_ENABLED_LTC)
60
46#endif /* _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ */ 61#endif /* _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ */
47 62
48 63