diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-06-22 16:43:35 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-06 15:04:43 -0400 |
commit | d8c0144f8b45ef8a94fc696efaa0c782c4c787af (patch) | |
tree | 07c7463570e0451731dcd29091e1a254b96cd409 /drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |
parent | 0852c9f1aba1654e380ccdd13cd0540fbb5a8ab0 (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/gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index 77db5cf6..436377bd 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -539,8 +539,6 @@ void gr_gk20a_init_cg_mode(struct gk20a *g, u32 cgmode, u32 mode_config); | |||
539 | 539 | ||
540 | /* sm */ | 540 | /* sm */ |
541 | bool gk20a_gr_sm_debugger_attached(struct gk20a *g); | 541 | bool gk20a_gr_sm_debugger_attached(struct gk20a *g); |
542 | void gk20a_gr_clear_sm_hww(struct gk20a *g, | ||
543 | u32 gpc, u32 tpc, u32 global_esr); | ||
544 | u32 gk20a_gr_get_sm_no_lock_down_hww_global_esr_mask(struct gk20a *g); | 542 | u32 gk20a_gr_get_sm_no_lock_down_hww_global_esr_mask(struct gk20a *g); |
545 | 543 | ||
546 | #define gr_gk20a_elpg_protected_call(g, func) \ | 544 | #define gr_gk20a_elpg_protected_call(g, func) \ |
@@ -683,8 +681,6 @@ int gk20a_gr_lock_down_sm(struct gk20a *g, | |||
683 | bool check_errors); | 681 | bool check_errors); |
684 | int gk20a_gr_wait_for_sm_lock_down(struct gk20a *g, u32 gpc, u32 tpc, u32 sm, | 682 | int gk20a_gr_wait_for_sm_lock_down(struct gk20a *g, u32 gpc, u32 tpc, u32 sm, |
685 | u32 global_esr_mask, bool check_errors); | 683 | u32 global_esr_mask, bool check_errors); |
686 | void gk20a_gr_clear_sm_hww(struct gk20a *g, | ||
687 | u32 gpc, u32 tpc, u32 global_esr); | ||
688 | int gr_gk20a_ctx_wait_ucode(struct gk20a *g, u32 mailbox_id, | 684 | int gr_gk20a_ctx_wait_ucode(struct gk20a *g, u32 mailbox_id, |
689 | u32 *mailbox_ret, u32 opc_success, | 685 | u32 *mailbox_ret, u32 opc_success, |
690 | u32 mailbox_ok, u32 opc_fail, | 686 | u32 mailbox_ok, u32 opc_fail, |