summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2017-01-24 14:07:00 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-31 19:23:29 -0500
commit771445abc8c6e15cd0c8a8943c7cf4bc2081f839 (patch)
tree90fb3ea935f3ee59e25f9c65a7535cde10ed13f2 /include/uapi
parentcae5a0bc3607cf453dc3cffff7f405b2111f4299 (diff)
gpu: nvgpu: add capability for FECS tracing
FECS tracing is not supported yet on some platforms (e.g. GM20B), so we need a flag to determine when to run automated tests. Jira EVLR-992 Change-Id: I01a5b2f78612363de44c1f2c17cebaded696f423 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1293350 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/uapi')
-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 1dce8803..5a9a1d25 100644
--- a/include/uapi/linux/nvgpu.h
+++ b/include/uapi/linux/nvgpu.h
@@ -130,6 +130,8 @@ struct nvgpu_gpu_zbc_query_table_args {
130#define NVGPU_GPU_FLAGS_SUPPORT_SET_THERM_ALERT_LIMIT (1ULL << 14) 130#define NVGPU_GPU_FLAGS_SUPPORT_SET_THERM_ALERT_LIMIT (1ULL << 14)
131/* NVGPU_GPU_IOCTL_GET_EVENT_FD is available */ 131/* NVGPU_GPU_IOCTL_GET_EVENT_FD is available */
132#define NVGPU_GPU_FLAGS_SUPPORT_DEVICE_EVENTS (1ULL << 15) 132#define NVGPU_GPU_FLAGS_SUPPORT_DEVICE_EVENTS (1ULL << 15)
133/* FECS context switch tracing is available */
134#define NVGPU_GPU_FLAGS_SUPPORT_FECS_CTXSW_TRACE (1ULL << 16)
133 135
134struct nvgpu_gpu_characteristics { 136struct nvgpu_gpu_characteristics {
135 __u32 arch; 137 __u32 arch;