mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
This patch adds unit tests coverage for rc unit for safety-build. This patch achieves 100% branch coverage. Following tests are added test_rc_init test_rc_fifo_recover test_rc_ctxsw_timeout test_rc_runlist_update test_rc_preempt_timeout test_rc_gr_fault test_rc_sched_error_bad_tsg test_rc_tsg_and_related_engines test_rc_mmu_fault test_rc_pbdma_fault test_rc_deinit Jira NVGPU-4385 Change-Id: I9d3e42272247eec9aa55bd520b32ef0b268e6e5d Change-Id: I9d3e42272247eec9aa55bd520b32ef0b268e6e5d Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2279730 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit