summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-10-25 17:17:30 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-26 16:26:25 -0400
commit9eebb7831facaa16b2975f50a716d2986c67b699 (patch)
tree8c0f5ba76e76c10762a04ea7fd7b681960f8ed5b /drivers/gpu/nvgpu/gk20a/gk20a.h
parent34ce21a588ad3e6d11a8fa6bc5b9e7282dca8f61 (diff)
gpu: nvgpu: Linux specific sm_error_state_record
Create an nvgpu internal nvgpu_gr_sm_error_state to store and propagate SM error state within driver. Use nvgpu_dbg_gpu_sm_error_state_record only in Linux code. JIRA NVGPU-259 Change-Id: I7365cdf5a1a42cbcdb418dfcef3e0020e02a960f Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1585645 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 13d534c4..80d85d65 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -361,8 +361,7 @@ struct gpu_ops {
361 u32 gpc, u32 tpc); 361 u32 gpc, u32 tpc);
362 int (*update_sm_error_state)(struct gk20a *g, 362 int (*update_sm_error_state)(struct gk20a *g,
363 struct channel_gk20a *ch, u32 sm_id, 363 struct channel_gk20a *ch, u32 sm_id,
364 struct nvgpu_dbg_gpu_sm_error_state_record * 364 struct nvgpu_gr_sm_error_state *sm_error_state);
365 sm_error_state);
366 int (*clear_sm_error_state)(struct gk20a *g, 365 int (*clear_sm_error_state)(struct gk20a *g,
367 struct channel_gk20a *ch, u32 sm_id); 366 struct channel_gk20a *ch, u32 sm_id);
368 int (*suspend_contexts)(struct gk20a *g, 367 int (*suspend_contexts)(struct gk20a *g,