summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-07-02 18:33:42 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-05 06:06:59 -0400
commit0e2e3898f7f8828ff9601d414f730b9fa8d09b3f (patch)
treeac1d3e5ec37423c7204a06f9767f2551a7658b34 /drivers/gpu/nvgpu/gk20a/gk20a.h
parentb7ae37cc32babbb433a017df12300fe4b4d5e2ac (diff)
gpu: nvgpu: add suspend_single_sm gr ops
This is required to support multiple SM and t19x sm register address changes JIRA GPUT19X-75 Change-Id: Id104f611736535874cdaa5a2f768f692d799c2c5 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master/r/1512214 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index a1ad96b9..f97534b5 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -370,6 +370,9 @@ struct gpu_ops {
370 int (*set_czf_bypass)(struct gk20a *g, 370 int (*set_czf_bypass)(struct gk20a *g,
371 struct channel_gk20a *ch); 371 struct channel_gk20a *ch);
372 bool (*sm_debugger_attached)(struct gk20a *g); 372 bool (*sm_debugger_attached)(struct gk20a *g);
373 void (*suspend_single_sm)(struct gk20a *g,
374 u32 gpc, u32 tpc, u32 sm,
375 u32 global_esr_mask, bool check_errors);
373 } gr; 376 } gr;
374 struct { 377 struct {
375 void (*init_hw)(struct gk20a *g); 378 void (*init_hw)(struct gk20a *g);