diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-01-02 07:31:44 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-05 12:13:30 -0500 |
commit | 7f55cfb6e92eb56565fb62684b02664c9cf05c40 (patch) | |
tree | 3c0621964b1176ad1934874e3cbfd162d5e054df /drivers/gpu/nvgpu/vgpu/gk20a | |
parent | ea5a2147229e32f0524827af82cb7a880aca6296 (diff) |
gpu: nvgpu: return error on pmu_ucode_details() failure
In lsfm_discover_ucode_images(), we currently collect
pmu ucode details with API pmu_ucode_details()
But if this API fails, we still continue loading
other firmwares
In case loading of pmu firmware fails due to some reason,
we should actually bail out immediately with error
Also, remove unnecessary chekc (ucode_img.lsf_desc != NULL)
since pmu_ucode_details() ensures that this cannot be
NULL
Bug 200265373
Change-Id: I68e7f9575e2a07b473ceacc528a5d172b58d6fb6
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1276555
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gk20a')
0 files changed, 0 insertions, 0 deletions