summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-02-01 02:03:56 -0500
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-02-02 11:49:33 -0500
commit8d311e5a91df62d8a6425d7593abb4df989d3ae9 (patch)
tree73766cae86efd849bed1d4bef31606783c77676c /include
parentf0a9ce0469314711ddb5a8baf6bf88615b71c59e (diff)
gpu: nvgpu: add max freq to gpu characteristics
Bug 200097029 Change-Id: Id63dad1629b1d1919cbbfb20b0cb85d4855f526d Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1000724 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/nvgpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h
index 1172a07e..984d1319 100644
--- a/include/uapi/linux/nvgpu.h
+++ b/include/uapi/linux/nvgpu.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * NVGPU Public Interface Header 2 * NVGPU Public Interface Header
3 * 3 *
4 * Copyright (c) 2011-2015, 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,
@@ -179,6 +179,8 @@ struct nvgpu_gpu_characteristics {
179 * num_maps */ 179 * num_maps */
180 __u32 map_buffer_batch_limit; 180 __u32 map_buffer_batch_limit;
181 181
182 __u64 max_freq;
183
182 /* Notes: 184 /* Notes:
183 - This struct can be safely appended with new fields. However, always 185 - This struct can be safely appended with new fields. However, always
184 keep the structure size multiple of 8 and make sure that the binary 186 keep the structure size multiple of 8 and make sure that the binary