summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-06-22 16:43:35 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-06 15:04:43 -0400
commitd8c0144f8b45ef8a94fc696efaa0c782c4c787af (patch)
tree07c7463570e0451731dcd29091e1a254b96cd409 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent0852c9f1aba1654e380ccdd13cd0540fbb5a8ab0 (diff)
gpu: nvgpu: add clear_sm_hww gr ops
Required for multiple SM support and t19x SM register address changes JIRA GPUT19X-75 Change-Id: Iad39f8566e2f5f000b019837304df24d9e2a37e3 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master/r/1514043 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 483cdd6e..95b93496 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -300,6 +300,8 @@ struct gpu_ops {
300 u32 global_esr_mask, bool check_errors); 300 u32 global_esr_mask, bool check_errors);
301 int (*wait_for_sm_lock_down)(struct gk20a *g, u32 gpc, u32 tpc, 301 int (*wait_for_sm_lock_down)(struct gk20a *g, u32 gpc, u32 tpc,
302 u32 sm, u32 global_esr_mask, bool check_errors); 302 u32 sm, u32 global_esr_mask, bool check_errors);
303 void (*clear_sm_hww)(struct gk20a *g, u32 gpc, u32 tpc, u32 sm,
304 u32 global_esr);
303 void (*get_esr_sm_sel)(struct gk20a *g, u32 gpc, u32 tpc, 305 void (*get_esr_sm_sel)(struct gk20a *g, u32 gpc, u32 tpc,
304 u32 *esr_sm_sel); 306 u32 *esr_sm_sel);
305 int (*handle_sm_exception)(struct gk20a *g, 307 int (*handle_sm_exception)(struct gk20a *g,