diff options
author | Shashank Singh <shashsingh@nvidia.com> | 2018-02-21 01:44:07 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-13 17:09:33 -0400 |
commit | 23a855b8527e07c047a7c4d3671f39142d9ea432 (patch) | |
tree | 85c07850ac269400b3af8c6479b7054d159e15c1 /drivers/gpu/nvgpu/gm20b/gr_gm20b.h | |
parent | 663e941eb6382f60e3f468d645e256cb33c4e055 (diff) |
gpu: nvgpu: add fault_ch to record_sm_error_state
fault_ch is needed by rm-server to send the notification to guest VM.
rm-server is going to use gr sources from linux
Jira VQRM-2982
Change-Id: Ifb6e8a9630a471d07b89ffaa7f2ceb309220fd21
Signed-off-by: Shashank Singh <shashsingh@nvidia.com>
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1661665
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h index bddf6412..3f604028 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h | |||
@@ -116,7 +116,8 @@ void gr_gm20b_enable_cde_in_fecs(struct gk20a *g, struct nvgpu_mem *mem); | |||
116 | void gr_gm20b_bpt_reg_info(struct gk20a *g, struct nvgpu_warpstate *w_state); | 116 | void gr_gm20b_bpt_reg_info(struct gk20a *g, struct nvgpu_warpstate *w_state); |
117 | void gr_gm20b_get_access_map(struct gk20a *g, | 117 | void gr_gm20b_get_access_map(struct gk20a *g, |
118 | u32 **whitelist, int *num_entries); | 118 | u32 **whitelist, int *num_entries); |
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, |
120 | u32 tpc, struct channel_gk20a *fault_ch); | ||
120 | int gm20b_gr_update_sm_error_state(struct gk20a *g, | 121 | int gm20b_gr_update_sm_error_state(struct gk20a *g, |
121 | struct channel_gk20a *ch, u32 sm_id, | 122 | struct channel_gk20a *ch, u32 sm_id, |
122 | struct nvgpu_gr_sm_error_state *sm_error_state); | 123 | struct nvgpu_gr_sm_error_state *sm_error_state); |