mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
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:
committed by
mobile promotions
parent
f64b5e20b0
commit
48d17e9c53
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* 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
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -30,6 +30,8 @@
|
||||
struct gk20a;
|
||||
struct gpu_ops;
|
||||
|
||||
/** @cond DOXYGEN_SHOULD_SKIP_THIS */
|
||||
|
||||
struct nvgpu_debug_context {
|
||||
void (*fn)(void *ctx, const char *str);
|
||||
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) {}
|
||||
#endif
|
||||
|
||||
/** @endcond DOXYGEN_SHOULD_SKIP_THIS */
|
||||
|
||||
#endif /* NVGPU_DEBUG_H */
|
||||
|
||||
@@ -201,7 +201,7 @@ int test_tsg_release(struct unit_module *m,
|
||||
*
|
||||
* 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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user