diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-10-25 17:17:30 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-26 16:26:25 -0400 |
commit | 9eebb7831facaa16b2975f50a716d2986c67b699 (patch) | |
tree | 8c0f5ba76e76c10762a04ea7fd7b681960f8ed5b /drivers/gpu/nvgpu/gm20b/gr_gm20b.h | |
parent | 34ce21a588ad3e6d11a8fa6bc5b9e7282dca8f61 (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/gm20b/gr_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h index 67f1ea29..15deaa0d 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h | |||
@@ -119,7 +119,7 @@ void gr_gm20b_get_access_map(struct gk20a *g, | |||
119 | int gm20b_gr_record_sm_error_state(struct gk20a *g, u32 gpc, u32 tpc); | 119 | int gm20b_gr_record_sm_error_state(struct gk20a *g, u32 gpc, u32 tpc); |
120 | int gm20b_gr_update_sm_error_state(struct gk20a *g, | 120 | int gm20b_gr_update_sm_error_state(struct gk20a *g, |
121 | struct channel_gk20a *ch, u32 sm_id, | 121 | struct channel_gk20a *ch, u32 sm_id, |
122 | struct nvgpu_dbg_gpu_sm_error_state_record *sm_error_state); | 122 | struct nvgpu_gr_sm_error_state *sm_error_state); |
123 | int gm20b_gr_clear_sm_error_state(struct gk20a *g, | 123 | int gm20b_gr_clear_sm_error_state(struct gk20a *g, |
124 | struct channel_gk20a *ch, u32 sm_id); | 124 | struct channel_gk20a *ch, u32 sm_id); |
125 | int gr_gm20b_get_preemption_mode_flags(struct gk20a *g, | 125 | int gr_gm20b_get_preemption_mode_flags(struct gk20a *g, |