diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-10-25 17:33:05 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-26 16:26:30 -0400 |
commit | 33c707d60b116845c953b91c2693a82a4d1eb968 (patch) | |
tree | 7516b4afccba382a25a75479c233f822cd9df8ab /drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |
parent | 1cbb5ea0235f15180b1d4299499cab85db23c5ce (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: Ia2b347d0054365bdc790b4d6f2653a568935bdb0
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1585646
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index 59a04d2c..2f33301d 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -2516,7 +2516,7 @@ void gv11b_gr_bpt_reg_info(struct gk20a *g, struct nvgpu_warpstate *w_state) | |||
2516 | 2516 | ||
2517 | int gv11b_gr_update_sm_error_state(struct gk20a *g, | 2517 | int gv11b_gr_update_sm_error_state(struct gk20a *g, |
2518 | struct channel_gk20a *ch, u32 sm_id, | 2518 | struct channel_gk20a *ch, u32 sm_id, |
2519 | struct nvgpu_dbg_gpu_sm_error_state_record *sm_error_state) | 2519 | struct nvgpu_gr_sm_error_state *sm_error_state) |
2520 | { | 2520 | { |
2521 | u32 gpc, tpc, sm, offset; | 2521 | u32 gpc, tpc, sm, offset; |
2522 | struct gr_gk20a *gr = &g->gr; | 2522 | struct gr_gk20a *gr = &g->gr; |