gpu: nvgpu: fix the unit test traceability

gk20a_tsg_unbind_channel_check_hw_next was not added to Targets
in unit test specification. Add it.  __attribute__ in debug.h
is captured by Doxygen as function with no tests. However it
is not really a function and applies to non-fusa function so
skip it in Doxygen.

JIRA NVGPU-7211

Change-Id: I2adadaebbf4e43768eb408dd10aaa20b1e13eccc
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2615256
(cherry picked from commit e829afb55a17dc0dacf17c71633f5689324171d7)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2623629
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@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:
Sagar Kamble
2021-10-22 23:40:33 +05:30
committed by mobile promotions
parent f64b5e20b0
commit 48d17e9c53
2 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
/* /*
* GK20A Debug functionality * GK20A Debug functionality
* *
* Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2014-2021, NVIDIA CORPORATION. All rights reserved.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),
@@ -30,6 +30,8 @@
struct gk20a; struct gk20a;
struct gpu_ops; struct gpu_ops;
/** @cond DOXYGEN_SHOULD_SKIP_THIS */
struct nvgpu_debug_context { struct nvgpu_debug_context {
void (*fn)(void *ctx, const char *str); void (*fn)(void *ctx, const char *str);
void *ctx; void *ctx;
@@ -63,4 +65,6 @@ static inline void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink
static inline void gk20a_debug_deinit(struct gk20a *g) {} static inline void gk20a_debug_deinit(struct gk20a *g) {}
#endif #endif
/** @endcond DOXYGEN_SHOULD_SKIP_THIS */
#endif /* NVGPU_DEBUG_H */ #endif /* NVGPU_DEBUG_H */

View File

@@ -201,7 +201,7 @@ int test_tsg_release(struct unit_module *m,
* *
* Test Type: Feature * Test Type: Feature
* *
* Targets: nvgpu_tsg_unbind_channel_check_hw_state * Targets: nvgpu_tsg_unbind_channel_check_hw_state, gk20a_tsg_unbind_channel_check_hw_next
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *