summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-06-22 00:28:10 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-06 15:04:42 -0400
commit9891cb117e538f1ea5d19171a3c88422cdce7162 (patch)
treee03b1baecbcebd5f6eaeb80eba4cecfb6d2940aa /drivers/gpu/nvgpu/gk20a/gk20a.h
parent64076b4b214b45fe8367e467dd6796a9bcc058a4 (diff)
gpu: nvgpu: add gr ops get_sm_hww_global_esr
Required for multiple SM support and t19x sm register address changes JIRA GPUT19X-75 Change-Id: I437095cb8f8d2ba31b85594a7609532991441a37 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master/r/1514040 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index d45477fc..70b1ac5f 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -293,6 +293,8 @@ struct gpu_ops {
293 bool *early_exit, bool *ignore_debugger); 293 bool *early_exit, bool *ignore_debugger);
294 u32 (*get_sm_hww_warp_esr)(struct gk20a *g, 294 u32 (*get_sm_hww_warp_esr)(struct gk20a *g,
295 u32 gpc, u32 tpc, u32 sm); 295 u32 gpc, u32 tpc, u32 sm);
296 u32 (*get_sm_hww_global_esr)(struct gk20a *g,
297 u32 gpc, u32 tpc, u32 sm);
296 void (*get_esr_sm_sel)(struct gk20a *g, u32 gpc, u32 tpc, 298 void (*get_esr_sm_sel)(struct gk20a *g, u32 gpc, u32 tpc,
297 u32 *esr_sm_sel); 299 u32 *esr_sm_sel);
298 int (*handle_sm_exception)(struct gk20a *g, 300 int (*handle_sm_exception)(struct gk20a *g,