diff options
author | Matt Craighead <mcraighead@nvidia.com> | 2015-10-06 18:22:08 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:08 -0500 |
commit | 6f4d1bb2e70e97424d44cba131199b41deb102d8 (patch) | |
tree | df12f14240cc9fbc341199a1e80fc84f5a7fd55a /drivers/gpu/nvgpu/gk20a/gk20a.c | |
parent | 1ba28cf44d91c0d3c83372ea2f248b5588893f6a (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/gk20a/gk20a.c')
0 files changed, 0 insertions, 0 deletions