mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Add unit tests for the following HALs: - gv11b_init_fifo_reset_enable_hw - gv11b_init_fifo_setup_hw - gv11b_fifo_mmu_fault_id_to_pbdma_id - gv11b_fifo_intr_0_enable - gv11b_fifo_handle_sched_error - gv11b_fifo_intr_0_isr - gv11b_fifo_intr_set_recover_mask - gv11b_fifo_intr_unset_recover_mask Jira NVGPU-4386 Change-Id: I888aca62e8eb8223a1def693a5ed51500baa37fc Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2256265 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
101 lines
3.3 KiB
C
101 lines
3.3 KiB
C
/*
|
|
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
* copy of this software and associated documentation files (the "Software"),
|
|
* to deal in the Software without restriction, including without limitation
|
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
* and/or sell copies of the Software, and to permit persons to whom the
|
|
* Software is furnished to do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
* DEALINGS IN THE SOFTWARE.
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
* @page NVGPU-SWUTS
|
|
*
|
|
* NVGPU Software Unit Test Specifications
|
|
* =======================================
|
|
*
|
|
* The following pages cover the various unit test specifications needed
|
|
* to test the NVGPU driver.
|
|
*
|
|
* - @ref SWUTS-enabled
|
|
* - @ref SWUTS-interface-bsearch
|
|
* - @ref SWUTS-interface-lock
|
|
* - @ref SWUTS-interface-rbtree
|
|
* - @ref SWUTS-falcon
|
|
* - @ref SWUTS-netlist
|
|
* - @ref SWUTS-fifo
|
|
* - @ref SWUTS-fifo-channel
|
|
* - @ref SWUTS-fifo-channel-gk20a
|
|
* - @ref SWUTS-fifo-channel-gm20b
|
|
* - @ref SWUTS-fifo-channel-gv11b
|
|
* - @ref SWUTS-fifo-engine
|
|
* - @ref SWUTS-fifo-engine-gm20b
|
|
* - @ref SWUTS-fifo-engine-gp10b
|
|
* - @ref SWUTS-fifo-engine-gv100
|
|
* - @ref SWUTS-fifo-engine-gv11b
|
|
* - @ref SWUTS-fifo-fifo-gk20a
|
|
* - @ref SWUTS-fifo-fifo-gv11b
|
|
* - @ref SWUTS-fifo-pbdma
|
|
* - @ref SWUTS-fifo-pbdma-gm20b
|
|
* - @ref SWUTS-fifo-pbdma-gp10b
|
|
* - @ref SWUTS-fifo-pbdma-gv11b
|
|
* - @ref SWUTS-fifo-runlist
|
|
* - @ref SWUTS-fifo-runlist-gk20a
|
|
* - @ref SWUTS-fifo-runlist-gv11b
|
|
* - @ref SWUTS-fifo-tsg
|
|
* - @ref SWUTS-fifo-tsg-gv11b
|
|
* - @ref SWUTS-fifo-userd-gk20a
|
|
* - @ref SWUTS-fifo-usermode-gv11b
|
|
* - @ref SWUTS-init
|
|
* - @ref SWUTS-interface-atomic
|
|
* - @ref SWUTS-ltc
|
|
* - @ref SWUTS-mm-allocators-bitmap-allocator
|
|
* - @ref SWUTS-mm-allocators-buddy-allocator
|
|
* - @ref SWUTS-mm-as
|
|
* - @ref SWUTS-mm-dma
|
|
* - @ref SWUTS-mm-gmmu-page_table
|
|
* - @ref SWUTS-mm-nvgpu-mem
|
|
* - @ref SWUTS-mm-nvgpu-sgt
|
|
* - @ref SWUTS-mm-page_table_faults
|
|
* - @ref SWUTS-mm-mm
|
|
* - @ref SWUTS-mm-vm
|
|
* - @ref SWUTS-fbp
|
|
* - @ref SWUTS-fuse
|
|
* - @ref SWUTS-posix-bitops
|
|
* - @ref SWUTS-posix-cond
|
|
* - @ref SWUTS-posix-fault-injection
|
|
* - @ref SWUTS-posix-sizes
|
|
* - @ref SWUTS-posix-thread
|
|
* - @ref SWUTS-posix-timers
|
|
* - @ref SWUTS-priv_ring
|
|
* - @ref SWUTS-ptimer
|
|
* - @ref SWUTS-sdl
|
|
* - @ref SWUTS-acr
|
|
* - @ref SWUTS-cg
|
|
* - @ref SWUTS-init_test
|
|
* - @ref SWUTS-channel_os
|
|
* - @ref SWUTS-top
|
|
* - @ref SWUTS-class
|
|
* - @ref SWUTS-gr
|
|
* - @ref SWUTS-gr-setup
|
|
* - @ref SWUTS-gr-intr
|
|
* - @ref SWUTS-gr-falcon
|
|
* - @ref SWUTS-gr-fs-state
|
|
* - @ref SWUTS-gr-config
|
|
*
|
|
*/
|
|
|