gpu: nvgpu: marking dt.h as non-safe

- The nvgpu_dt_read_u32_index() functin of dt.h is used
  only in non-safe code, so no need of this file to be safe.

- Also this is fixing the unit test tracibility issue with
  nvgpu_dt_read_u32_index() function

JIRA NVGPU-7211

Change-Id: I4023915f2ad9872df01f5e75fa21c1d492cc731a
Signed-off-by: srajum <srajum@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2614653
(cherry picked from commit 3ac63b3a707736c20a9c53948a689c0a21ecf58c)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2623632
Reviewed-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: Sagar Kamble <skamble@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
srajum
2021-10-22 01:14:59 +05:30
committed by mobile promotions
parent cdfbd4313b
commit b789ba7460

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2019, NVIDIA CORPORATION. All Rights Reserved. # Copyright (c) 2019-2021, NVIDIA CORPORATION. All Rights Reserved.
# #
# OS interface units and utilities. Often represented by simply a header file. # OS interface units and utilities. Often represented by simply a header file.
# #
@@ -37,7 +37,7 @@ dma:
# This one is likely not structured correctly. # This one is likely not structured correctly.
dt: dt:
safe: yes safe: no
sources: [ include/nvgpu/dt.h ] sources: [ include/nvgpu/dt.h ]
# Also a problem. # Also a problem.