mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: change test names to unique identifier
Use a unique identifier to avoid below errors in SWVS: Warning doxygenfunction: Unable to resolve multiple matches for function 'test_xxx' with arguments () in doxygen xml output for project 'nvgpu_doxygen'... JIRA NVGPU-4679 Change-Id: Ifb310381fcc47c6e7ce41bd8789abc173f8380dc Signed-off-by: tkudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2279842 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
@@ -372,7 +372,7 @@
|
||||
"test_level": 0
|
||||
},
|
||||
{
|
||||
"test": "test_isr",
|
||||
"test": "test_bus_isr",
|
||||
"case": "bus_isr",
|
||||
"unit": "bus",
|
||||
"test_level": 0
|
||||
@@ -1974,7 +1974,7 @@
|
||||
"test_level": 0
|
||||
},
|
||||
{
|
||||
"test": "test_isr",
|
||||
"test": "test_priv_ring_isr",
|
||||
"case": "priv_ring_isr",
|
||||
"unit": "priv_ring",
|
||||
"test_level": 0
|
||||
|
||||
@@ -320,7 +320,7 @@ done:
|
||||
return ret;
|
||||
}
|
||||
|
||||
int test_isr(struct unit_module *m, struct gk20a *g, void *args)
|
||||
int test_bus_isr(struct unit_module *m, struct gk20a *g, void *args)
|
||||
{
|
||||
int ret = UNIT_SUCCESS;
|
||||
|
||||
@@ -343,7 +343,7 @@ struct unit_module_test bus_tests[] = {
|
||||
UNIT_TEST(bus_setup, test_bus_setup, NULL, 0),
|
||||
UNIT_TEST(bus_init_hw, test_init_hw, NULL, 0),
|
||||
UNIT_TEST(bus_bar_bind, test_bar_bind, NULL, 0),
|
||||
UNIT_TEST(bus_isr, test_isr, NULL, 0),
|
||||
UNIT_TEST(bus_isr, test_bus_isr, NULL, 0),
|
||||
UNIT_TEST(bus_free_reg_space, test_bus_free_reg_space, NULL, 0),
|
||||
};
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ int test_init_hw(struct unit_module *m, struct gk20a *g, void *args);
|
||||
int test_bar_bind(struct unit_module *m, struct gk20a *g, void *args);
|
||||
|
||||
/**
|
||||
* Test specification for: test_isr
|
||||
* Test specification for: test_bus_isr
|
||||
*
|
||||
* Description: Verify the bus.isr HAL.
|
||||
*
|
||||
@@ -174,5 +174,5 @@ int test_bar_bind(struct unit_module *m, struct gk20a *g, void *args);
|
||||
* Output:
|
||||
* - UNIT_SUCCESS.
|
||||
*/
|
||||
int test_isr(struct unit_module *m, struct gk20a *g, void *args);
|
||||
int test_bus_isr(struct unit_module *m, struct gk20a *g, void *args);
|
||||
#endif /* UNIT_NVGPU_BUS_H */
|
||||
|
||||
@@ -273,7 +273,7 @@ int test_get_fbp_count(struct unit_module *m, struct gk20a *g, void *args)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int test_isr(struct unit_module *m, struct gk20a *g, void *args)
|
||||
int test_priv_ring_isr(struct unit_module *m, struct gk20a *g, void *args)
|
||||
{
|
||||
int ret = UNIT_SUCCESS;
|
||||
|
||||
@@ -358,7 +358,7 @@ struct unit_module_test priv_ring_tests[] = {
|
||||
UNIT_TEST(priv_ring_get_gpc_count, test_get_gpc_count, NULL, 0),
|
||||
UNIT_TEST(priv_ring_get_fbp_count, test_get_fbp_count, NULL, 0),
|
||||
UNIT_TEST(priv_ring_decode_error_code, test_decode_error_code, NULL, 0),
|
||||
UNIT_TEST(priv_ring_isr, test_isr, NULL, 0),
|
||||
UNIT_TEST(priv_ring_isr, test_priv_ring_isr, NULL, 0),
|
||||
UNIT_TEST(priv_ring_free_reg_space,
|
||||
test_priv_ring_free_reg_space, NULL, 0),
|
||||
};
|
||||
|
||||
@@ -186,7 +186,7 @@ int test_get_gpc_count(struct unit_module *m, struct gk20a *g, void *args);
|
||||
int test_get_fbp_count(struct unit_module *m, struct gk20a *g, void *args);
|
||||
|
||||
/**
|
||||
* Test specification for: test_isr
|
||||
* Test specification for: test_priv_ring_isr
|
||||
*
|
||||
* Description: Verify the priv_ring.isr HAL.
|
||||
*
|
||||
@@ -217,7 +217,7 @@ int test_get_fbp_count(struct unit_module *m, struct gk20a *g, void *args);
|
||||
* Output:
|
||||
* - UNIT_SUCCESS
|
||||
*/
|
||||
int test_isr(struct unit_module *m, struct gk20a *g, void *args);
|
||||
int test_priv_ring_isr(struct unit_module *m, struct gk20a *g, void *args);
|
||||
|
||||
/**
|
||||
* Test specification for: test_decode_error_code
|
||||
|
||||
Reference in New Issue
Block a user