summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2016-10-27 13:54:18 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-01 14:36:51 -0400
commit161b61e6cc76c2050115039141027320a2f2e745 (patch)
treefdfdefb9bcb19c03e7d3f6cb315105dc473f88bb /drivers/gpu/nvgpu/gk20a/gk20a.h
parent9dce41e208818c0084c91685c8255942a2ca6e8d (diff)
gpu: nvgpu: pmu HAL update
Update pmu HAL to check for pmu support. pmu initialization will check for pmu support in that platform. JIRA GV11B-21 Change-Id: Ib55be58a1540862b7a91a6162544d10be85b5eb4 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1243911 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index ec0b4ba9..a230e98a 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -584,6 +584,7 @@ struct gpu_ops {
584 void (*therm_debugfs_init)(struct gk20a *g); 584 void (*therm_debugfs_init)(struct gk20a *g);
585 } therm; 585 } therm;
586 struct { 586 struct {
587 bool (*is_pmu_supported)(struct gk20a *g);
587 int (*prepare_ucode)(struct gk20a *g); 588 int (*prepare_ucode)(struct gk20a *g);
588 int (*pmu_setup_hw_and_bootstrap)(struct gk20a *g); 589 int (*pmu_setup_hw_and_bootstrap)(struct gk20a *g);
589 int (*pmu_nsbootstrap)(struct pmu_gk20a *pmu); 590 int (*pmu_nsbootstrap)(struct pmu_gk20a *pmu);