gpu: nvgpu: unit: gr: add gr falcon unit test

Added following unit tests to cover common gr falcon unit:
gr_falcon_init
gr_falcon_init_ctxsw
gr_falcon_nonsecure_gpccs_init_ctxsw
gr_falcon_recovery_ctxsw
gr_falcon_nonsecure_gpccs_recovery_ctxsw
gr_falcon_query_test
gr_falcon_init_ctx_state
gr_falcon_deinit

JIRA NVGPU-3930

Change-Id: I46f02ac62d8fbdd8704bca34a8088e2de4e2483a
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2201977
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Seshendra Gadagottu
2019-09-19 18:49:53 -07:00
committed by Alex Waterman
parent 8f1c95f3c3
commit bc83d6aa9c
8 changed files with 396 additions and 0 deletions

View File

@@ -1428,6 +1428,46 @@
"test_level": 0,
"unit": "nvgpu-pmu"
},
{
"test": "gr_falcon_init",
"test_level": 0,
"unit": "nvgpu_gr_falcon"
},
{
"test": "gr_falcon_init_ctxsw",
"test_level": 0,
"unit": "nvgpu_gr_falcon"
},
{
"test": "gr_falcon_nonsecure_gpccs_init_ctxsw",
"test_level": 0,
"unit": "nvgpu_gr_falcon"
},
{
"test": "gr_falcon_recovery_ctxsw",
"test_level": 0,
"unit": "nvgpu_gr_falcon"
},
{
"test": "gr_falcon_nonsecure_gpccs_recovery_ctxsw",
"test_level": 0,
"unit": "nvgpu_gr_falcon"
},
{
"test": "gr_falcon_query_test",
"test_level": 0,
"unit": "nvgpu_gr_falcon"
},
{
"test": "gr_falcon_init_ctx_state",
"test_level": 0,
"unit": "nvgpu_gr_falcon"
},
{
"test": "gr_falcon_deinit",
"test_level": 0,
"unit": "nvgpu_gr_falcon"
},
{
"test": "gr_init_setup",
"test_level": 0,