mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: unit: increase coverage of mm.vm
This patch brings a number of changes to the mm.vm unit test: - test_map_buf: add steps to check for error cases and increase coverage. - test_map_buf_gpu_va: add steps to check for error cases and increase coverage. - test_init_error_paths: new test to target all possible error paths in the VM init code. - test_map_buffer_error_cases: new test to target all possible error paths in the buffer mapping logic. - test_nvgpu_vm_alloc_va: new test to target the nvgpu_vm_alloc_va API and also target error paths. - test_vm_bind: new test to target the nvgpu_vm_bind_channel API and also target error paths. - test_vm_aspace_id: new test to target the vm_aspace_id API and also target error paths. JIRA NVGPU-909 Change-Id: I755c89a6de09376d2624130a98966c172d850bfe Signed-off-by: Nicolas Benech <nbenech@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2217679 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
563955aead
commit
0f5c61748a