summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
diff options
context:
space:
mode:
authorMatt Craighead <mcraighead@nvidia.com>2015-10-06 18:22:08 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:08 -0500
commit6f4d1bb2e70e97424d44cba131199b41deb102d8 (patch)
treedf12f14240cc9fbc341199a1e80fc84f5a7fd55a /drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
parent1ba28cf44d91c0d3c83372ea2f248b5588893f6a (diff)
gpu: nvgpu: gp10b: skip powergate if no BPMP
The powergating APIs only work if the BPMP is running. Skip these calls if it's not available, instead of relying on is_linsim, which doesn't work under all environments. Change-Id: I34325847b2ebf33c5db2f31111c57d22ed28ef53 Signed-off-by: Matt Craighead <mcraighead@nvidia.com> Reviewed-on: http://git-master/r/812415 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/pmu_gp10b.c')
0 files changed, 0 insertions, 0 deletions