gpu: nvgpu: unit: add VM batch subtest

Add a subtest to exercise the VM unit's batch mode. Batch mode is used
to optimize cache flushes.

JIRA NVGPU-3626

Change-Id: I4873d65f3fab48b11e998158669a26ad2e530dd1
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2133881
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Adeel Raza
2019-06-10 16:01:18 -07:00
committed by mobile promotions
parent 4d6aafe280
commit f2dea4e8fc
3 changed files with 184 additions and 4 deletions

View File

@@ -210,6 +210,8 @@ nvgpu_vm_area_free
nvgpu_vm_find_mapped_buf
nvgpu_vm_init
nvgpu_vm_map
nvgpu_vm_mapping_batch_finish
nvgpu_vm_mapping_batch_start
nvgpu_vm_put
nvgpu_vm_unmap
nvgpu_vzalloc_impl