diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-07-02 19:43:31 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-05 06:07:00 -0400 |
commit | 1ab0eec6eae303fa2b2f7cc97b78aed4a9f895e5 (patch) | |
tree | f2f2c234e20f8a7ff863b7da0bc3726ec306f4fe /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 29b688960fcf6279f58d95f7e17f31ef15129a80 (diff) |
gpu: nvgpu: add resume_single_sm gr ops
This is required to support multiple SM and t19x
sm register address changes
JIRA GPUT19X-75
Change-Id: If8805bcc042c75ea70c1689306feb3c8bf011655
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master/r/1512216
Reviewed-by: Automatic_Commit_Validation_User
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 f94be010..aae54cc2 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -375,6 +375,8 @@ struct gpu_ops { | |||
375 | u32 global_esr_mask, bool check_errors); | 375 | u32 global_esr_mask, bool check_errors); |
376 | void (*suspend_all_sms)(struct gk20a *g, | 376 | void (*suspend_all_sms)(struct gk20a *g, |
377 | u32 global_esr_mask, bool check_errors); | 377 | u32 global_esr_mask, bool check_errors); |
378 | void (*resume_single_sm)(struct gk20a *g, | ||
379 | u32 gpc, u32 tpc, u32 sm); | ||
378 | } gr; | 380 | } gr; |
379 | struct { | 381 | struct { |
380 | void (*init_hw)(struct gk20a *g); | 382 | void (*init_hw)(struct gk20a *g); |