gpu: nvgpu: Disabling Global context buffers commit for Compute engine

Global context buffers are to be mapped and committed only
for engine supporting gfx. With MIG, all engines support
compute only hence skip that.

Bug 4016530

Change-Id: I9f9a01070776f5fa1b18287e62a3080a42c21c60
Signed-off-by: Dinesh T <dt@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2900314
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Dinesh T
2023-05-08 17:34:02 +00:00
committed by mobile promotions
parent 9487599da1
commit 8bae56a075
3 changed files with 10 additions and 7 deletions

View File

@@ -673,7 +673,7 @@ test_gr_setup_free_obj_ctx.gr_setup_free_obj_ctx=0
test_gr_setup_preemption_mode_errors.gr_setup_preemption_mode_errors=2
test_gr_setup_set_preemption_mode.gr_setup_set_preemption_mode=0
test_gr_validate_subctx_gr_ctx_buffers.gr_setup_subctx_gr_ctx_buffers=0
test_gr_validate_multi_as_subctx_gr_ctx_buffers.gr_setup_subctx_multi_as_gr_ctx_buffers=0
test_gr_validate_multi_as_subctx_gr_ctx_buffers.gr_setup_subctx_multi_as_gr_ctx_buffers=2
test_gr_validate_subctx_inst_blocks.gr_setup_subctx_inst_blocks=0
test_gr_validate_ch_class_veid_pbdma.gr_setup_class_veid_pbdma=0

View File

@@ -1848,7 +1848,7 @@ struct unit_module_test nvgpu_gr_setup_tests[] = {
UNIT_TEST(gr_setup_subctx_gr_ctx_buffers,
test_gr_validate_subctx_gr_ctx_buffers, NULL, 0),
UNIT_TEST(gr_setup_subctx_multi_as_gr_ctx_buffers,
test_gr_validate_multi_as_subctx_gr_ctx_buffers, NULL, 0),
test_gr_validate_multi_as_subctx_gr_ctx_buffers, NULL, 2),
UNIT_TEST(gr_setup_subctx_inst_blocks,
test_gr_validate_subctx_inst_blocks, NULL, 0),
UNIT_TEST(gr_setup_class_veid_pbdma,