summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorPeter Daifuku <pdaifuku@nvidia.com>2017-11-07 19:05:58 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-08 20:56:47 -0500
commitcddf69c549c5c6fb2c69e4620636e96c698a4201 (patch)
tree7f02b61ece3e032caca55ac1b8f3d2414f4b33f9 /drivers/gpu/nvgpu/include
parent016231c045bfaa9f21feed00b88ac507c4935ebc (diff)
gpu: nvgpu: vgpu: cyclestat characteristics fixes
Fix characteristics for cyclestats: - SUPPORT_TSG and SUPPORT_CYCLE_STATS_SNAPSHOT were assigned the same value - For vgpu, SUPPORT_CYCLE_STATS was set redundantly (but differently) - For vgpu, if the css buffer size is 0, set the support flag to False JIRA ESRM-88 Bug 200296210 Change-Id: Iaf98dafec55f171b5968c2a8248290284bf30922 Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1593939 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Alex Waterman <alexw@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 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/enabled.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/enabled.h b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
index 82f9e6d2..f2b5dbf7 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/enabled.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
@@ -78,28 +78,28 @@ struct gk20a;
78/* NVGPU_IOCTL_CHANNEL_CYCLE_STATS_SNAPSHOT is available */ 78/* NVGPU_IOCTL_CHANNEL_CYCLE_STATS_SNAPSHOT is available */
79#define NVGPU_SUPPORT_CYCLE_STATS_SNAPSHOT 33 79#define NVGPU_SUPPORT_CYCLE_STATS_SNAPSHOT 33
80/* Both gpu driver and device support TSG */ 80/* Both gpu driver and device support TSG */
81#define NVGPU_SUPPORT_TSG 33 81#define NVGPU_SUPPORT_TSG 34
82/* Fast deterministic submits with no job tracking are supported */ 82/* Fast deterministic submits with no job tracking are supported */
83#define NVGPU_SUPPORT_DETERMINISTIC_SUBMIT_NO_JOBTRACKING 34 83#define NVGPU_SUPPORT_DETERMINISTIC_SUBMIT_NO_JOBTRACKING 35
84/* Deterministic submits are supported even with job tracking */ 84/* Deterministic submits are supported even with job tracking */
85#define NVGPU_SUPPORT_DETERMINISTIC_SUBMIT_FULL 35 85#define NVGPU_SUPPORT_DETERMINISTIC_SUBMIT_FULL 36
86/* NVGPU_SUBMIT_GPFIFO_FLAGS_RESCHEDULE_RUNLIST is available */ 86/* NVGPU_SUBMIT_GPFIFO_FLAGS_RESCHEDULE_RUNLIST is available */
87#define NVGPU_SUPPORT_RESCHEDULE_RUNLIST 36 87#define NVGPU_SUPPORT_RESCHEDULE_RUNLIST 37
88 88
89/* NVGPU_GPU_IOCTL_GET_EVENT_FD is available */ 89/* NVGPU_GPU_IOCTL_GET_EVENT_FD is available */
90#define NVGPU_SUPPORT_DEVICE_EVENTS 37 90#define NVGPU_SUPPORT_DEVICE_EVENTS 38
91/* FECS context switch tracing is available */ 91/* FECS context switch tracing is available */
92#define NVGPU_SUPPORT_FECS_CTXSW_TRACE 38 92#define NVGPU_SUPPORT_FECS_CTXSW_TRACE 39
93 93
94/* NVGPU_GPU_IOCTL_SET_DETERMINISTIC_OPTS is available */ 94/* NVGPU_GPU_IOCTL_SET_DETERMINISTIC_OPTS is available */
95#define NVGPU_SUPPORT_DETERMINISTIC_OPTS 39 95#define NVGPU_SUPPORT_DETERMINISTIC_OPTS 40
96 96
97/* 97/*
98 * Security flags 98 * Security flags
99 */ 99 */
100 100
101#define NVGPU_SEC_SECUREGPCCS 40 101#define NVGPU_SEC_SECUREGPCCS 41
102#define NVGPU_SEC_PRIVSECURITY 41 102#define NVGPU_SEC_PRIVSECURITY 42
103 103
104/* 104/*
105 * PMU flags. 105 * PMU flags.