summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h
diff options
context:
space:
mode:
authorVinod G <vinodg@nvidia.com>2018-05-24 17:00:19 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-08-08 07:27:28 -0400
commita09b9cd587d27a3ef6479a17631c3497d447e7a9 (patch)
treedf543902311f6c0e87458041e13b9f569fc92318 /drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h
parent32bcf21f5712fcd872b26ec70ad8987f7db4478f (diff)
gpu: nvgpu: Add IOCTL for SM_EXCEPTION_TYPE_MASK
Add new ioctl to set the SM_EXCEPTION_TYPE_MASK is added to dbg session. Currently support SM_EXCEPTION_TYPE_MASK_FATAL type If this type is set then the code will skip RC recovery, instead trigger CILP preemption. bug 200412641 JIRA NVGPU-702 Change-Id: I4b1f18379ee792cd324ccc555939e0f4f5c9e3b4 Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1729792 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h
index 50002557..4d3c4d74 100644
--- a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h
@@ -72,6 +72,12 @@ struct dbg_session_gk20a {
72 bool broadcast_stop_trigger; 72 bool broadcast_stop_trigger;
73 73
74 struct nvgpu_mutex ioctl_lock; 74 struct nvgpu_mutex ioctl_lock;
75
76 /*
77 * sm set exception type mask flag, to check whether
78 * exception type mask is requested or not.
79 */
80 bool is_sm_exception_type_mask_set;
75}; 81};
76 82
77struct dbg_session_data { 83struct dbg_session_data {