summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index 0c6be57b..804e0e25 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -437,6 +437,12 @@ struct gr_gk20a {
437 u32 no_of_sm; 437 u32 no_of_sm;
438 struct sm_info *sm_to_cluster; 438 struct sm_info *sm_to_cluster;
439 struct nvgpu_gr_sm_error_state *sm_error_states; 439 struct nvgpu_gr_sm_error_state *sm_error_states;
440
441#define NVGPU_SM_EXCEPTION_TYPE_MASK_NONE (0x0U)
442#define NVGPU_SM_EXCEPTION_TYPE_MASK_FATAL (0x1U << 0)
443 u32 sm_exception_mask_type;
444 u32 sm_exception_mask_refcount;
445
440#if defined(CONFIG_GK20A_CYCLE_STATS) 446#if defined(CONFIG_GK20A_CYCLE_STATS)
441 struct nvgpu_mutex cs_lock; 447 struct nvgpu_mutex cs_lock;
442 struct gk20a_cs_snapshot *cs_data; 448 struct gk20a_cs_snapshot *cs_data;