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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index 6b422138..22fc40d1 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -231,6 +231,14 @@ struct nvgpu_preemption_modes_rec {
231 u32 default_compute_preempt_mode; /* default mode */ 231 u32 default_compute_preempt_mode; /* default mode */
232}; 232};
233 233
234struct nvgpu_gr_sm_error_state {
235 u32 hww_global_esr;
236 u32 hww_warp_esr;
237 u64 hww_warp_esr_pc;
238 u32 hww_global_esr_report_mask;
239 u32 hww_warp_esr_report_mask;
240};
241
234struct gr_gk20a { 242struct gr_gk20a {
235 struct gk20a *g; 243 struct gk20a *g;
236 struct { 244 struct {
@@ -387,7 +395,7 @@ struct gr_gk20a {
387 u32 *fbp_rop_l2_en_mask; 395 u32 *fbp_rop_l2_en_mask;
388 u32 no_of_sm; 396 u32 no_of_sm;
389 struct sm_info *sm_to_cluster; 397 struct sm_info *sm_to_cluster;
390 struct nvgpu_dbg_gpu_sm_error_state_record *sm_error_states; 398 struct nvgpu_gr_sm_error_state *sm_error_states;
391#if defined(CONFIG_GK20A_CYCLE_STATS) 399#if defined(CONFIG_GK20A_CYCLE_STATS)
392 struct nvgpu_mutex cs_lock; 400 struct nvgpu_mutex cs_lock;
393 struct gk20a_cs_snapshot *cs_data; 401 struct gk20a_cs_snapshot *cs_data;