diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-07 16:05:38 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-13 10:39:23 -0400 |
commit | 3490cf9f2a5b2e2ca7cf6c5ffc50bcb6d563df2c (patch) | |
tree | 5aedbaf9c55c79d6b88e2cbc458276ea7c20addb /include/linux/gk20a.h | |
parent | 832e4fce1e7dc7494b57412f1addb75bc1c4fa94 (diff) |
gpu: nvgpu: Check result of gk20a_pmu_init
If PMU version is not supported, gk20a_pmu_init returns an error
code. Check the error code and fail poweron if gk20a_pmu_init
fails.
Change-Id: Ia1d6a6fcbcc5a144d2e5bc88734df778e887fa53
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1160371
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Diffstat (limited to 'include/linux/gk20a.h')
0 files changed, 0 insertions, 0 deletions