gpu: nvgpu: unit: add tests for common.gr.setup

Add tests to cover common.gr.setup subunit. This includes
g->ops.gr.setup.alloc_obj_ctx
g->ops.gr.setup.set_preemption_mode
g->ops.gr.setup.free_gr_ctx and
g->ops.gr.setup.free_subctx.

Update register space to include the registers used by
context creation.
Update SWUT files for doxygen.

Jira NVGPU-3968

Change-Id: I3ab539d18584231142a1945d621d015b7ca772de
Signed-off-by: vinodg <vinodg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2244825
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
vinodg
2019-11-21 15:57:01 -08:00
committed by Alex Waterman
parent d6a20e31b3
commit df68da0e66
13 changed files with 528 additions and 6 deletions

View File

@@ -72,6 +72,7 @@
* - @ref SWUTS-channel_os
* - @ref SWUTS-top
* - @ref SWUTS-gr
* - @ref SWUTS-gr-setup
* - @ref SWUTS-gr-intr
* - @ref SWUTS-gr-config
*