From 56fcce12e00187438529d44f2e70cd28df9288bc Mon Sep 17 00:00:00 2001 From: seshendra Gadagottu Date: Thu, 27 Oct 2016 11:16:30 -0700 Subject: 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 Reviewed-on: http://git-master/r/1243919 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: Alex Waterman Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gv11b/pmu_gv11b.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers') 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 @@ #include "pmu_gv11b.h" #include "hw_pwr_gv11b.h" +static bool gv11b_is_pmu_supported(struct gk20a *g) +{ + return false; +} + void gv11b_init_pmu_ops(struct gpu_ops *gops) { gp10b_init_pmu_ops(gops); + gops->pmu.is_pmu_supported = gv11b_is_pmu_supported; } -- cgit v1.2.2