diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-10-27 14:09:10 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:50 -0500 |
commit | 84219f3a7f022e684c83ed9e6414bd9f2827c025 (patch) | |
tree | 83378004830b5a4fe83e1b8d2b8698e6092e54a5 /drivers/gpu/nvgpu | |
parent | f533ec3cbddfff7944c4b9021cccf026dc27e572 (diff) |
gpu: nvgpu: gp10b: pmu HAL update
Update pmu HAL to have function for
is_pmu_supported.
JIRA GV11B-21
Change-Id: Id08efa82aa04a6f92c7fea0eb5d4735db2699b5a
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1243918
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/pmu_gp10b.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c index 762e2af7..e7b2e70c 100644 --- a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c | |||
@@ -449,8 +449,14 @@ static void pmu_dump_security_fuses_gp10b(struct gk20a *g) | |||
449 | val); | 449 | val); |
450 | } | 450 | } |
451 | 451 | ||
452 | static bool gp10b_is_pmu_supported(struct gk20a *g) | ||
453 | { | ||
454 | return true; | ||
455 | } | ||
456 | |||
452 | void gp10b_init_pmu_ops(struct gpu_ops *gops) | 457 | void gp10b_init_pmu_ops(struct gpu_ops *gops) |
453 | { | 458 | { |
459 | gops->pmu.is_pmu_supported = gp10b_is_pmu_supported; | ||
454 | if (gops->privsecurity) { | 460 | if (gops->privsecurity) { |
455 | gm20b_init_secure_pmu(gops); | 461 | gm20b_init_secure_pmu(gops); |
456 | gops->pmu.init_wpr_region = gm20b_pmu_init_acr; | 462 | gops->pmu.init_wpr_region = gm20b_pmu_init_acr; |