mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
91438603558dce7e15543cafb511ae1502de544e
As part of supporting GPU minimal boot, some of the HALs are assigned with NULL. Before dereferencing such HALs, check for NULL. Further, this patch reorganizes needs_init API to first check whether a function pointer is NULL, to enable quick turnaround to the caller of this API. JIRA NVGPU-9283 Change-Id: I768d1cddef8766948c99892c59f6ebe6f31be9d8 Signed-off-by: Rajesh Devaraj <rdevaraj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2814225 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Description
No description provided