gpu: nvgpu: unit: add channel alloc/free inst tests

Add coverage for the following functions:
- nvgpu_channel_alloc_inst
- nvgpu_channel_free_inst

Jira NVGPU-3480

Change-Id: I754dccee69dfe04d5ae5607ad1deb6dd8c8de79f
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2129726
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Thomas Fleury
2019-05-31 09:51:18 -07:00
committed by mobile promotions
parent 5dbf0675f4
commit 99db6a6d3f
2 changed files with 74 additions and 0 deletions

View File

@@ -63,8 +63,10 @@ nvgpu_aperture_mask
nvgpu_bar1_readl
nvgpu_bar1_writel
nvgpu_bsearch
nvgpu_channel_alloc_inst
nvgpu_channel_cleanup_sw
nvgpu_channel_close
nvgpu_channel_free_inst
nvgpu_channel_kill
nvgpu_channel_setup_bind
nvgpu_channel_setup_sw