diff options
author | Aparna Das <aparnad@nvidia.com> | 2018-01-11 18:12:01 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-02-08 17:11:56 -0500 |
commit | dc110896cd6dbda8296720da816c1e81e64aca04 (patch) | |
tree | edf7a8d9fd8b371663d97cd875b4c8983389e7d3 /include/uapi/linux | |
parent | f0cbe19b12524f5df6466eaf86acbfb349def6b1 (diff) |
gpu: nvgpu: add vpr flag in gpu characteristics
VPR is currently not supported in virtualized configuration.
Allow reporting VPR capability in gpu characteristics
Jira EVLR-2236
Change-Id: Id61a0045577e4add0d9cdfddcefcedd5b20eb1dd
Signed-off-by: Aparna Das <aparnad@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1639798
(cherry picked from commit 4136b74fd4435966ee2e69ec88fb66424382a7c0)
Reviewed-on: https://git-master.nvidia.com/r/1640712
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 41b4eb8d..206832ae 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -156,6 +156,8 @@ struct nvgpu_gpu_zbc_query_table_args { | |||
156 | #define NVGPU_GPU_FLAGS_SUPPORT_SCG (1ULL << 25) | 156 | #define NVGPU_GPU_FLAGS_SUPPORT_SCG (1ULL << 25) |
157 | /* GPU_VA address of a syncpoint is supported */ | 157 | /* GPU_VA address of a syncpoint is supported */ |
158 | #define NVGPU_GPU_FLAGS_SUPPORT_SYNCPOINT_ADDRESS (1ULL << 26) | 158 | #define NVGPU_GPU_FLAGS_SUPPORT_SYNCPOINT_ADDRESS (1ULL << 26) |
159 | /* VPR is supported */ | ||
160 | #define NVGPU_GPU_FLAGS_SUPPORT_VPR (1ULL << 27) | ||
159 | /* SM LRF ECC is enabled */ | 161 | /* SM LRF ECC is enabled */ |
160 | #define NVGPU_GPU_FLAGS_ECC_ENABLED_SM_LRF (1ULL << 60) | 162 | #define NVGPU_GPU_FLAGS_ECC_ENABLED_SM_LRF (1ULL << 60) |
161 | /* SM SHM ECC is enabled */ | 163 | /* SM SHM ECC is enabled */ |