gpu: nvgpu: power_features: add unit tests for more coverage

Add test cases for verifying disabling the prod gating and test cases
for covering remaining branches and lines.

JIRA NVGPU-2175

Change-Id: Iaa6d4cade35d80f26710b8a994e874c26c52b3fa
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2260172
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Sagar Kamble
2019-12-11 16:28:27 +05:30
committed by Alex Waterman
parent 55b3890642
commit 2ccfb46072
3 changed files with 156 additions and 40 deletions

View File

@@ -143,6 +143,10 @@ gv11b_usermode_doorbell_token
gv11b_usermode_ring_doorbell
gv11b_class_is_valid_compute
gv11b_class_is_valid
gr_gv11b_pg_gr_get_gating_prod
gr_gv11b_pg_gr_gating_prod_size
gv11b_slcg_ctxsw_firmware_get_gating_prod
gv11b_slcg_ctxsw_firmware_gating_prod_size
gv11b_slcg_bus_gating_prod_size
gv11b_slcg_bus_get_gating_prod
gv11b_slcg_ce2_gating_prod_size