summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
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/gm20b/gr_gm20b.c
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/gm20b/gr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index a1078b10..c10517b7 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -1297,7 +1297,7 @@ int gm20b_gr_record_sm_error_state(struct gk20a *g, u32 gpc, u32 tpc)
1297 1297
1298int gm20b_gr_update_sm_error_state(struct gk20a *g, 1298int gm20b_gr_update_sm_error_state(struct gk20a *g,
1299 struct channel_gk20a *ch, u32 sm_id, 1299 struct channel_gk20a *ch, u32 sm_id,
1300 struct nvgpu_dbg_gpu_sm_error_state_record *sm_error_state) 1300 struct nvgpu_gr_sm_error_state *sm_error_state)
1301{ 1301{
1302 u32 gpc, tpc, offset; 1302 u32 gpc, tpc, offset;
1303 struct gr_gk20a *gr = &g->gr; 1303 struct gr_gk20a *gr = &g->gr;