diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-07-06 05:28:34 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-06 16:26:32 -0400 |
commit | 5f8bb126a0ca473b2e0c9cbdb91f011b2b49c4ea (patch) | |
tree | 76d321c250c2144bf0d4180d8add6aaf98d4c788 /drivers/gpu/nvgpu/vgpu | |
parent | 46a66efb0e72172233ef79f2db0cc2f042bfe90e (diff) |
gpu: nvgpu: add NULL check for enable/disable_shadow_rom HALs
gops.xve.enable_shadow_rom and gops.xve.disable_shadow_rom HALs could be NULL
on some platforms
Execute them only if they are defined
Jira NVGPUT-120
Change-Id: I683d74a850372f442291a419951a2376805eb1e5
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1772559
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
0 files changed, 0 insertions, 0 deletions