summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-07-02 18:39:27 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-05 06:06:59 -0400
commit29b688960fcf6279f58d95f7e17f31ef15129a80 (patch)
tree38d90b161b404c2b7884c6d40d35b9e858fe8960 /drivers/gpu/nvgpu/gk20a/gr_gk20a.h
parent0e2e3898f7f8828ff9601d414f730b9fa8d09b3f (diff)
gpu: nvgpu: add suspend_all_sms gr ops
This is required to support multiple SM and t19x sm register address changes JIRA GPUT19X-75 Change-Id: Icdae3b6ed67a3d3deeb17f29528184b2d7a70af5 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master/r/1512215 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index a9b7c2d7..90abcf22 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -618,8 +618,9 @@ void gk20a_resume_all_sms(struct gk20a *g);
618void gk20a_gr_suspend_single_sm(struct gk20a *g, 618void gk20a_gr_suspend_single_sm(struct gk20a *g,
619 u32 gpc, u32 tpc, u32 sm, 619 u32 gpc, u32 tpc, u32 sm,
620 u32 global_esr_mask, bool check_errors); 620 u32 global_esr_mask, bool check_errors);
621void gk20a_suspend_all_sms(struct gk20a *g, 621void gk20a_gr_suspend_all_sms(struct gk20a *g,
622 u32 global_esr_mask, bool check_errors); 622 u32 global_esr_mask, bool check_errors);
623u32 gr_gk20a_get_tpc_count(struct gr_gk20a *gr, u32 gpc_index);
623int gk20a_gr_lock_down_sm(struct gk20a *g, 624int gk20a_gr_lock_down_sm(struct gk20a *g,
624 u32 gpc, u32 tpc, u32 global_esr_mask, 625 u32 gpc, u32 tpc, u32 global_esr_mask,
625 bool check_errors); 626 bool check_errors);