diff options
author | Richard Zhao <rizhao@nvidia.com> | 2017-03-02 14:00:17 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-08 14:35:24 -0500 |
commit | bc47d822298b9f3b2f93a384a7780a3763fee495 (patch) | |
tree | bbc8192bb47b9dd76b37f6149fe5d43efb6c0cb7 /include | |
parent | baf464779e4605d66e2f5eda3aff8ec33f5d093f (diff) |
gpu: nvgpu: add NVGPU_GPU_FLAGS_SUPPORT_MAP_COMPBITS
native gpu driver supports map compbits but vgpu does not.
Bug 1778448
Bug 200275051
JIRA VFND-3513
Change-Id: I433a6f8631b495875ba899af9609203ab36187ef
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/1314065
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 3f358558..400d430b 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -135,6 +135,8 @@ struct nvgpu_gpu_zbc_query_table_args { | |||
135 | #define NVGPU_GPU_FLAGS_SUPPORT_DEVICE_EVENTS (1ULL << 15) | 135 | #define NVGPU_GPU_FLAGS_SUPPORT_DEVICE_EVENTS (1ULL << 15) |
136 | /* FECS context switch tracing is available */ | 136 | /* FECS context switch tracing is available */ |
137 | #define NVGPU_GPU_FLAGS_SUPPORT_FECS_CTXSW_TRACE (1ULL << 16) | 137 | #define NVGPU_GPU_FLAGS_SUPPORT_FECS_CTXSW_TRACE (1ULL << 16) |
138 | /* NVGPU_AS_IOCTL_MAP_BUFFER_COMPBITS is available */ | ||
139 | #define NVGPU_GPU_FLAGS_SUPPORT_MAP_COMPBITS (1ULL << 17) | ||
138 | 140 | ||
139 | struct nvgpu_gpu_characteristics { | 141 | struct nvgpu_gpu_characteristics { |
140 | __u32 arch; | 142 | __u32 arch; |