diff options
author | Seema Khowala <seemaj@nvidia.com> | 2018-07-16 15:29:27 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-19 00:23:58 -0400 |
commit | 74e1a11d840b3d7411b380c2e4e4c99126ea32a5 (patch) | |
tree | 401ff87662f109d468e3d8d16c1d7bf12c1ceb13 /drivers/gpu/nvgpu/lpwr/rppg.h | |
parent | 96d53bff8598a44fcec3f2492c8ec630d71d5dd0 (diff) |
gpu: nvgpu: nvlink: remove device only if it is present
nvlink can be disabled via DT. Check if nvlink device is
present before calling nvlink specific functions to remove
the device during shutdown.
Change-Id: I33480425e2991c008f02dac989b56f21a54aa902
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1779381
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/lpwr/rppg.h')
0 files changed, 0 insertions, 0 deletions