gpu: nvgpu: unit: update 'Targets' for all common.mm units

This patch adds a number of missing 'Targets' fields in the SWUTS of
various common.mm units, fixes some missing ones and adds gops based
targets.

JIRA NVGPU-4413

Change-Id: I14d4b9ee90091f4417d87bfefb45f027d56d62d8
Signed-off-by: Nicolas Benech <nbenech@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2276070
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Nicolas Benech
2020-01-08 16:20:49 -05:00
committed by Alex Waterman
parent 5b47cd73fb
commit 4a287f08cd
13 changed files with 93 additions and 21 deletions

View File

@@ -40,6 +40,11 @@ struct unit_module;
*
* Test Type: Feature
*
* Targets: nvgpu_vm_init, nvgpu_vm_get_buffers, nvgpu_big_pages_possible,
* nvgpu_vm_area_alloc, nvgpu_vm_map, nvgpu_vm_find_mapped_buf_range,
* nvgpu_vm_find_mapped_buf_less_than, nvgpu_get_pte, nvgpu_vm_put_buffers,
* nvgpu_vm_unmap, nvgpu_vm_area_free, nvgpu_vm_put
*
* Input: None
*
* Steps:
@@ -82,6 +87,12 @@ int test_map_buf(struct unit_module *m, struct gk20a *g, void *__args);
*
* Test Type: Feature
*
* Targets: nvgpu_vm_init, nvgpu_vm_get_buffers, nvgpu_big_pages_possible,
* nvgpu_vm_area_alloc, nvgpu_vm_map, nvgpu_vm_find_mapped_buf_range,
* nvgpu_vm_find_mapped_buf_less_than, nvgpu_get_pte, nvgpu_vm_put_buffers,
* nvgpu_vm_unmap, nvgpu_vm_area_free, nvgpu_vm_put,
* nvgpu_gmmu_va_small_page_limit
*
* Input: None
*
* Steps:
@@ -123,6 +134,12 @@ int test_map_buf_gpu_va(struct unit_module *m, struct gk20a *g, void *__args);
*
* Test Type: Feature
*
* Targets: nvgpu_vm_init, nvgpu_vm_mapping_batch_start, nvgpu_vm_area_alloc,
* nvgpu_vm_map, nvgpu_vm_find_mapped_buf_range,
* nvgpu_vm_find_mapped_buf_less_than, nvgpu_get_pte, nvgpu_vm_put_buffers,
* nvgpu_vm_unmap, nvgpu_vm_area_free, nvgpu_vm_put,
* nvgpu_vm_mapping_batch_finish
*
* Input: None
*
* Steps:
@@ -148,6 +165,8 @@ int test_batch(struct unit_module *m, struct gk20a *g, void *__args);
*
* Test Type: Feature, Error injection
*
* Targets: nvgpu_vm_init, nvgpu_vm_do_init
*
* Input: None
*
* Steps:
@@ -191,6 +210,8 @@ int test_init_error_paths(struct unit_module *m, struct gk20a *g, void *__args);
*
* Test Type: Error injection
*
* Targets: nvgpu_vm_init, nvgpu_vm_map, nvgpu_vm_put
*
* Input: None
*
* Steps:
@@ -226,6 +247,8 @@ int test_map_buffer_error_cases(struct unit_module *m, struct gk20a *g,
*
* Test Type: Feature, Error injection
*
* Targets: nvgpu_vm_alloc_va
*
* Input: None
*
* Steps:
@@ -260,6 +283,8 @@ int test_nvgpu_vm_alloc_va(struct unit_module *m, struct gk20a *g,
*
* Test Type: Feature
*
* Targets: nvgpu_vm_bind_channel
*
* Input: None
*
* Steps:
@@ -286,6 +311,8 @@ int test_vm_bind(struct unit_module *m, struct gk20a *g, void *__args);
*
* Test Type: Feature
*
* Targets: vm_aspace_id
*
* Input: None
*
* Steps:
@@ -314,6 +341,9 @@ int test_vm_aspace_id(struct unit_module *m, struct gk20a *g, void *__args);
*
* Test Type: Feature, Error injection
*
* Targets: nvgpu_vm_area_validate_buffer, nvgpu_vm_area_alloc,
* nvgpu_vm_area_free
*
* Input: None
*
* Steps: