diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-07-02 18:39:27 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-05 06:06:59 -0400 |
commit | 29b688960fcf6279f58d95f7e17f31ef15129a80 (patch) | |
tree | 38d90b161b404c2b7884c6d40d35b9e858fe8960 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 0e2e3898f7f8828ff9601d414f730b9fa8d09b3f (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/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index f97534b5..f94be010 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -373,6 +373,8 @@ struct gpu_ops { | |||
373 | void (*suspend_single_sm)(struct gk20a *g, | 373 | void (*suspend_single_sm)(struct gk20a *g, |
374 | u32 gpc, u32 tpc, u32 sm, | 374 | u32 gpc, u32 tpc, u32 sm, |
375 | u32 global_esr_mask, bool check_errors); | 375 | u32 global_esr_mask, bool check_errors); |
376 | void (*suspend_all_sms)(struct gk20a *g, | ||
377 | u32 global_esr_mask, bool check_errors); | ||
376 | } gr; | 378 | } gr; |
377 | struct { | 379 | struct { |
378 | void (*init_hw)(struct gk20a *g); | 380 | void (*init_hw)(struct gk20a *g); |