diff options
author | Vince Hsu <vinceh@nvidia.com> | 2018-11-02 03:29:29 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-11-07 13:18:55 -0500 |
commit | 9cdc1ccdafa955ba2d9a9b238d05f15566869039 (patch) | |
tree | 968609f0d0182687e4f1ae35f11ffafa1d5c35f2 /userspace/units/posix-env/posix-env.c | |
parent | 6099b07090422bce03f2108f11dc3f8e677a966f (diff) |
gpu: nvgpu: re-initialize fw pointer when failed to load fw
When ACR and PMU BL fail to boot, the firmware are releasd, but the
firmware pointers are not re-initialized. That causes later invalid
pointer usage. Fix that by setting them as NULL.
Bug 200462464
Change-Id: Iacdf4b3c7f7144a77f595c77e6f5a29d35505672
Signed-off-by: Vince Hsu <vinceh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1941671
(cherry picked from commit 3a87a0c99819d9b00d4b7e414ec0ecfeaade961c)
Reviewed-on: https://git-master.nvidia.com/r/1942950
GVS: Gerrit_Virtual_Submit
Reviewed-by: Siddardha Naraharisetti <siddardhan@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'userspace/units/posix-env/posix-env.c')
0 files changed, 0 insertions, 0 deletions