gpu: nvgpu: init: cleanup traceability

nvgpu_init_hal is private to the common.init unit in the driver, used
only by nvgpu_detect_chip. However, it is used extensively by the unit
tests, so it can't be static. So, hide it from doxygen, so it is not
included in SWVR traceability.

Add missing target APIs in SWUTS for init UTs.

JIRA NVGPU-4818

Change-Id: I4d8acf29e9cbafdfd26d7088f98974da3b12a8ba
Signed-off-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2280641
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Philip Elcan
2020-01-17 10:30:25 -05:00
committed by Alex Waterman
parent 2b86f65477
commit 24d20485a5
2 changed files with 8 additions and 5 deletions

View File

@@ -157,7 +157,8 @@ int test_get_put(struct unit_module *m,
* Input:
* - test_setup_env() must be called before.
*
* Targets: nvgpu_check_gpu_state, gops_mc.get_chip_details
* Targets: nvgpu_check_gpu_state, is_nvgpu_gpu_state_valid,
* gops_mc.get_chip_details
*
* Steps:
* - Test valid case.
@@ -224,7 +225,7 @@ int test_hal_init(struct unit_module *m,
*
* Test Type: Feature
*
* Targets: nvgpu_finalize_poweron
* Targets: nvgpu_finalize_poweron, nvgpu_init_gpu_characteristics
*
* Input:
* - test_setup_env() must be called before.