mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: SWUTS: clean up test types
Apply the following changes to test types: * "Init" --> "Other (setup)" * "Coverage" --> Removed since it's implied for all tests * "Feature based" --> "Feature" * "Boundary Value analysis" and "Boundary values based" --> "Boundary values" * "Error guessing based" --> "Error guessing" JIRA NVGPU-3510 Change-Id: I3a9c0c59e6ad806f3479caa5e9a62f4d89f76923 Signed-off-by: Nicolas Benech <nbenech@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2265670 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
7dd618980a
commit
b682091b13
@@ -40,7 +40,7 @@ struct unit_module;
|
||||
* to read the GR engine configuration and stores the configuration
|
||||
* values in the #nvgpu_gr_config struct.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Input: None
|
||||
*
|
||||
@@ -59,7 +59,7 @@ int test_gr_config_init(struct unit_module *m, struct gk20a *g, void *args);
|
||||
*
|
||||
* Description: Cleanup common.gr.config unit.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_config_deinit.
|
||||
*
|
||||
@@ -81,7 +81,7 @@ int test_gr_config_deinit(struct unit_module *m, struct gk20a *g, void *args);
|
||||
* read from the h/w matches with locally stored informations
|
||||
* for a particular chip.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing.
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Input: #test_gr_init_setup and #test_gr_config_init
|
||||
* must have been executed successfully.
|
||||
@@ -120,7 +120,7 @@ int test_gr_config_count(struct unit_module *m, struct gk20a *g, void *args);
|
||||
* reflect the same value. This test helps to verify the
|
||||
* configuration values can be changed as part of floorsweeping.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Targets: #nvgpu_gr_config_set_no_of_sm,
|
||||
* #nvgpu_gr_config_get_sm_info,
|
||||
@@ -149,7 +149,7 @@ int test_gr_config_set_get(struct unit_module *m, struct gk20a *g, void *args);
|
||||
* possible error conditions for memory allocation failure. Also
|
||||
* provide different configurations in common.gr unit.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Input: #test_gr_init_setup must have been executed successfully.
|
||||
*
|
||||
|
||||
@@ -38,7 +38,7 @@ struct unit_module;
|
||||
*
|
||||
* Description: Verify error handling in context allocation and mapping path.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing.
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Targets: #nvgpu_gr_ctx_alloc,
|
||||
* #nvgpu_gr_ctx_free,
|
||||
|
||||
@@ -38,7 +38,7 @@ struct unit_module;
|
||||
*
|
||||
* Description: Helps to verify common.gr.falcon subunit initialization.
|
||||
*
|
||||
* Test Type: Feature based, Error injection.
|
||||
* Test Type: Feature, Error injection
|
||||
*
|
||||
* Targets: #nvgpu_gr_falcon_init_support.
|
||||
*
|
||||
@@ -64,7 +64,7 @@ int test_gr_falcon_init(struct unit_module *m,
|
||||
*
|
||||
* Description: Helps to verify common.gr.falcon subunit deinitialization.
|
||||
*
|
||||
* Test Type: Feature based, Error injection.
|
||||
* Test Type: Feature, Error injection
|
||||
*
|
||||
* Targets: #nvgpu_gr_falcon_remove_support.
|
||||
*
|
||||
@@ -86,7 +86,7 @@ int test_gr_falcon_deinit(struct unit_module *m,
|
||||
*
|
||||
* Description: This test helps to verify load and boot FECS and GPCCS ucodes.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_falcon_init_ctxsw.
|
||||
*
|
||||
@@ -109,7 +109,7 @@ int test_gr_falcon_init_ctxsw(struct unit_module *m,
|
||||
*
|
||||
* Description: Helps to verify context state initialization
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_falcon_init_ctx_state.
|
||||
*
|
||||
@@ -130,7 +130,7 @@ int test_gr_falcon_init_ctx_state(struct unit_module *m,
|
||||
* Description: Helps to verify the common.gr.falcon query
|
||||
* functions return valid values.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_falcon_get_fecs_ucode_segments,
|
||||
* #nvgpu_gr_falcon_get_gpccs_ucode_segments,
|
||||
@@ -155,7 +155,7 @@ int test_gr_falcon_query_test(struct unit_module *m,
|
||||
* Description: Helps to verify the allocation failures for
|
||||
* nvgpu_gr_falcon_init_ctxsw_ucode function is handled properly.
|
||||
*
|
||||
* Test Type: Error injection.
|
||||
* Test Type: Error injection
|
||||
*
|
||||
* Targets: #nvgpu_gr_falcon_init_ctxsw_ucode.
|
||||
*
|
||||
|
||||
@@ -38,7 +38,7 @@ struct unit_module;
|
||||
*
|
||||
* Description: Verify error handling in #nvgpu_gr_fs_state_init()
|
||||
*
|
||||
* Test Type: Feature based, Error guessing.
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Targets: #nvgpu_gr_fs_state_init.
|
||||
*
|
||||
|
||||
@@ -38,7 +38,7 @@ struct unit_module;
|
||||
*
|
||||
* Description: Verify error handling in global context allocation path.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing.
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Targets: #nvgpu_gr_global_ctx_buffer_alloc,
|
||||
* #nvgpu_gr_global_ctx_buffer_free,
|
||||
@@ -79,7 +79,7 @@ int test_gr_global_ctx_alloc_error_injection(struct unit_module *m,
|
||||
* Description: Verify error handling in local golden context image
|
||||
* creation and comparison.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing.
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Targets: #nvgpu_gr_global_ctx_init_local_golden_image,
|
||||
* #nvgpu_gr_global_ctx_load_local_golden_image,
|
||||
|
||||
@@ -40,7 +40,7 @@ struct unit_module;
|
||||
* common.gr subunits without any channel allocation.
|
||||
* Also helps to verify the nonstall interrupts.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing.
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Targets: #nvgpu_gr_intr_stall_isr,
|
||||
* #nvgpu_gr_intr_init_support,
|
||||
@@ -76,7 +76,7 @@ int test_gr_intr_without_channel(struct unit_module *m,
|
||||
* Helps to figure out the current context on interrupt
|
||||
* pending with subunit error.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Targets: #nvgpu_gr_intr_stall_isr.
|
||||
*
|
||||
@@ -110,7 +110,7 @@ int test_gr_intr_setup_channel(struct unit_module *m,
|
||||
* Helps to verify exceptions for SET_SHADER_EXCEPTIONS,
|
||||
* SET_SKEDCHECK and SET_SHADER_CUT_COLLECTOR.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing.
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Targets: #nvgpu_gr_intr_stall_isr.
|
||||
*
|
||||
@@ -138,7 +138,7 @@ int test_gr_intr_sw_exceptions(struct unit_module *m,
|
||||
* unimpl_illegal_method, watchdog, ecc_corrected and
|
||||
* ecc_uncorrected interrupts.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing.
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Targets: #nvgpu_gr_intr_stall_isr.
|
||||
*
|
||||
@@ -161,7 +161,7 @@ int test_gr_intr_fecs_exceptions(struct unit_module *m,
|
||||
*
|
||||
* Description: Helps to verify pending interrupts for gpc_exceptions.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing.
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Targets: #nvgpu_gr_intr_stall_isr,
|
||||
* #nvgpu_gr_intr_handle_gpc_exception.
|
||||
|
||||
@@ -38,7 +38,7 @@ struct unit_module;
|
||||
*
|
||||
* Description: Setup common.gr unit.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Input: None.
|
||||
*
|
||||
@@ -62,7 +62,7 @@ int test_gr_init_setup(struct unit_module *m, struct gk20a *g, void *args);
|
||||
*
|
||||
* Description: Remove common.gr unit setup.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_free.
|
||||
*
|
||||
@@ -81,7 +81,7 @@ int test_gr_remove_setup(struct unit_module *m, struct gk20a *g, void *args);
|
||||
*
|
||||
* Description: Prepare common.gr unit.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_prepare_sw, #nvgpu_gr_prepare_hw.
|
||||
*
|
||||
@@ -100,7 +100,7 @@ int test_gr_init_prepare(struct unit_module *m, struct gk20a *g, void *args);
|
||||
*
|
||||
* Description: Initialize common.gr unit.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_init_support.
|
||||
*
|
||||
@@ -126,7 +126,7 @@ int test_gr_init_support(struct unit_module *m, struct gk20a *g, void *args);
|
||||
*
|
||||
* Description: Suspend common.gr unit.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_suspend.
|
||||
*
|
||||
@@ -145,7 +145,7 @@ int test_gr_suspend(struct unit_module *m, struct gk20a *g, void *args);
|
||||
*
|
||||
* Description: Remove common.gr unit support.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_remove_support.
|
||||
*
|
||||
@@ -165,7 +165,7 @@ int test_gr_remove_support(struct unit_module *m, struct gk20a *g, void *args);
|
||||
*
|
||||
* Description: Set the ECC feature based on fuse and fecs override registers.
|
||||
*
|
||||
* Test Type: Feature based, Error Injection.
|
||||
* Test Type: Feature, Error Injection
|
||||
*
|
||||
* Input: #test_gr_init_setup, #test_gr_init_prepare and #test_gr_init_support
|
||||
* must have been executed successfully.
|
||||
@@ -191,7 +191,7 @@ int test_gr_init_ecc_features(struct unit_module *m,
|
||||
*
|
||||
* Description: Setup for common.gr unit.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Input: None
|
||||
*
|
||||
@@ -215,7 +215,7 @@ int test_gr_init_setup_ready(struct unit_module *m, struct gk20a *g, void *args)
|
||||
*
|
||||
* Description: Cleanup common.gr unit.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Input: #test_gr_setup_ready must have been executed successfully.
|
||||
*
|
||||
|
||||
@@ -38,7 +38,7 @@ struct unit_module;
|
||||
*
|
||||
* Description: Verify error handling in object context creation path.
|
||||
*
|
||||
* Test Type: Feature based, Error guessing.
|
||||
* Test Type: Feature, Error guessing
|
||||
*
|
||||
* Targets: #nvgpu_gr_obj_ctx_init,
|
||||
* #nvgpu_gr_obj_ctx_alloc,
|
||||
|
||||
@@ -38,7 +38,7 @@ struct unit_module;
|
||||
*
|
||||
* Description: This test helps to verify common.gr object context creation.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_setup_alloc_obj_ctx,
|
||||
* #nvgpu_gr_obj_ctx_alloc,
|
||||
@@ -69,7 +69,7 @@ int test_gr_setup_alloc_obj_ctx(struct unit_module *m,
|
||||
*
|
||||
* Description: This test helps to verify set_preemption_mode.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_setup_set_preemption_mode,
|
||||
* #nvgpu_gr_obj_ctx_set_ctxsw_preemption_mode,
|
||||
@@ -96,7 +96,7 @@ int test_gr_setup_set_preemption_mode(struct unit_module *m,
|
||||
*
|
||||
* Description: Helps to verify common.gr object context cleanup.
|
||||
*
|
||||
* Test Type: Feature based.
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: #nvgpu_gr_setup_free_subctx,
|
||||
* #nvgpu_gr_setup_free_gr_ctx.
|
||||
@@ -121,7 +121,7 @@ int test_gr_setup_free_obj_ctx(struct unit_module *m,
|
||||
* Description: Helps to verify error paths in
|
||||
* g->ops.gr.setup.set_preemption_mode call.
|
||||
*
|
||||
* Test Type: Error injection.
|
||||
* Test Type: Error injection
|
||||
*
|
||||
* Targets: #nvgpu_gr_setup_set_preemption_mode,
|
||||
* #nvgpu_gr_obj_ctx_set_ctxsw_preemption_mode.
|
||||
@@ -147,7 +147,7 @@ int test_gr_setup_preemption_mode_errors(struct unit_module *m,
|
||||
* Description: Helps to verify error paths in
|
||||
* g->ops.gr.setup.alloc_obj_ctx call.
|
||||
*
|
||||
* Test Type: Error injection.
|
||||
* Test Type: Error injection
|
||||
*
|
||||
* Targets: #nvgpu_gr_setup_alloc_obj_ctx,
|
||||
* #nvgpu_gr_subctx_alloc, #nvgpu_gr_obj_ctx_alloc,
|
||||
|
||||
Reference in New Issue
Block a user