diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-10-27 14:16:30 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-11-01 14:36:59 -0400 |
commit | 56fcce12e00187438529d44f2e70cd28df9288bc (patch) | |
tree | 17bfd74bba5e86b69c001add5045e2eaecd5133a /drivers/gpu/nvgpu | |
parent | 06bad79189543d5402baaa9ae6bb9d8319cd0908 (diff) |
gpu: nvgpu: gv11b: pmu HAL update
Update pmu HAL to have function for
is_pmu_supported(). At this moment
pmu support is disabled for gv11b.
JIRA GV11B-21
Change-Id: I1790e6e4dc80e0761df78e6092da2b6ca0e39d64
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1243919
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/gv11b/pmu_gv11b.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c index 0b0144ce..62e42c31 100644 --- a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c | |||
@@ -21,7 +21,13 @@ | |||
21 | #include "pmu_gv11b.h" | 21 | #include "pmu_gv11b.h" |
22 | #include "hw_pwr_gv11b.h" | 22 | #include "hw_pwr_gv11b.h" |
23 | 23 | ||
24 | static bool gv11b_is_pmu_supported(struct gk20a *g) | ||
25 | { | ||
26 | return false; | ||
27 | } | ||
28 | |||
24 | void gv11b_init_pmu_ops(struct gpu_ops *gops) | 29 | void gv11b_init_pmu_ops(struct gpu_ops *gops) |
25 | { | 30 | { |
26 | gp10b_init_pmu_ops(gops); | 31 | gp10b_init_pmu_ops(gops); |
32 | gops->pmu.is_pmu_supported = gv11b_is_pmu_supported; | ||
27 | } | 33 | } |