mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: unit: add tests for gv11b fifo HAL
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>
This commit is contained in:
committed by
Alex Waterman
parent
4c43d83032
commit
23bbce1102
@@ -26,7 +26,9 @@
|
||||
|
||||
bool nvgpu_platform_is_silicon(struct gk20a *g)
|
||||
{
|
||||
return false;
|
||||
struct nvgpu_os_posix *p = nvgpu_os_posix_from_gk20a(g);
|
||||
|
||||
return p->is_silicon;
|
||||
}
|
||||
|
||||
bool nvgpu_platform_is_simulation(struct gk20a *g)
|
||||
|
||||
Reference in New Issue
Block a user