summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2018-06-26 10:21:54 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-04 07:42:10 -0400
commit26fe0fbc92bca183f4e543d45f5fc074d136eba1 (patch)
tree515328d5cedc6bfcaf2c4ed686ddd4493a291a17 /include
parentf403800dce923c8bac982291aee213e1e3afdab0 (diff)
gpu: nvgpu: expose CAN_RAILGATE in characteristics
Bug 200327089 Change-Id: Id7bd2795647f1e29dabe41acb20d0994cdd07958 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1764267 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/nvgpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h
index 65e8427e..b85ca7b6 100644
--- a/include/uapi/linux/nvgpu.h
+++ b/include/uapi/linux/nvgpu.h
@@ -162,6 +162,8 @@ struct nvgpu_gpu_zbc_query_table_args {
162#define NVGPU_GPU_FLAGS_SUPPORT_VPR (1ULL << 27) 162#define NVGPU_GPU_FLAGS_SUPPORT_VPR (1ULL << 27)
163/* Allocating per-channel syncpoint in user space is supported */ 163/* Allocating per-channel syncpoint in user space is supported */
164#define NVGPU_GPU_FLAGS_SUPPORT_USER_SYNCPOINT (1ULL << 28) 164#define NVGPU_GPU_FLAGS_SUPPORT_USER_SYNCPOINT (1ULL << 28)
165/* Railgating (powering the GPU off completely) is supported and enabled */
166#define NVGPU_GPU_FLAGS_CAN_RAILGATE (1ULL << 29)
165/* SM LRF ECC is enabled */ 167/* SM LRF ECC is enabled */
166#define NVGPU_GPU_FLAGS_ECC_ENABLED_SM_LRF (1ULL << 60) 168#define NVGPU_GPU_FLAGS_ECC_ENABLED_SM_LRF (1ULL << 60)
167/* SM SHM ECC is enabled */ 169/* SM SHM ECC is enabled */