mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: add check for valid engine id
-Check validity of engine-id when iterating through all engines and passing the engine-id as an argument to other function(s). -Skip test test_gv100_dump_engine_status which fails due to this change. Bug 200660469 Change-Id: I64ebb1a0297f605dd3cba7ef73954ff5594828bc Signed-off-by: Shashank Singh <shashsingh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2424655 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
260365bfe1
commit
3aec79d242
@@ -565,7 +565,6 @@ test_gp10b_engine_init_ce_info.engine_init_ce_info=2
|
||||
[nvgpu_engine_gv100]
|
||||
test_fifo_init_support.init_support=0
|
||||
test_fifo_remove_support.remove_support=0
|
||||
test_gv100_dump_engine_status.dump_engine_status_info=0
|
||||
test_gv100_read_engine_status_info.read_engine_status_info=0
|
||||
|
||||
[nvgpu_engine_gv11b]
|
||||
|
||||
@@ -170,7 +170,7 @@ done:
|
||||
struct unit_module_test nvgpu_engine_gv100_tests[] = {
|
||||
UNIT_TEST(init_support, test_fifo_init_support, NULL, 0),
|
||||
UNIT_TEST(read_engine_status_info, test_gv100_read_engine_status_info, NULL, 0),
|
||||
UNIT_TEST(dump_engine_status_info, test_gv100_dump_engine_status, NULL, 0),
|
||||
UNIT_TEST(dump_engine_status_info, test_gv100_dump_engine_status, NULL, 1),
|
||||
UNIT_TEST(remove_support, test_fifo_remove_support, NULL, 0),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user