diff --git a/userspace/required_tests.ini b/userspace/required_tests.ini index 042665cab..209930017 100644 --- a/userspace/required_tests.ini +++ b/userspace/required_tests.ini @@ -501,11 +501,11 @@ test_nvgpu_get_gpfifo_entry_size.get_gpfifo_entry_size=0 test_trace_write_pushbuffers.trace_write_pushbuffers=0 [nvgpu_channel_gk20a] -test_fifo_init_support.init_support=0 -test_fifo_remove_support.remove_support=0 -test_gk20a_channel_disable.disable=0 -test_gk20a_channel_enable.enable=0 -test_gk20a_channel_read_state.read_state=0 +test_fifo_init_support.init_support=2 +test_fifo_remove_support.remove_support=2 +test_gk20a_channel_disable.disable=2 +test_gk20a_channel_enable.enable=2 +test_gk20a_channel_read_state.read_state=2 [nvgpu_channel_gm20b] test_fifo_init_support.init_support=0 diff --git a/userspace/units/fifo/channel/gk20a/nvgpu-channel-gk20a.c b/userspace/units/fifo/channel/gk20a/nvgpu-channel-gk20a.c index 5876c4672..afdbe9d2d 100644 --- a/userspace/units/fifo/channel/gk20a/nvgpu-channel-gk20a.c +++ b/userspace/units/fifo/channel/gk20a/nvgpu-channel-gk20a.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2019-2022, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -216,11 +216,11 @@ done: } struct unit_module_test nvgpu_channel_gk20a_tests[] = { - UNIT_TEST(init_support, test_fifo_init_support, NULL, 0), - UNIT_TEST(enable, test_gk20a_channel_enable, NULL, 0), - UNIT_TEST(disable, test_gk20a_channel_disable, NULL, 0), - UNIT_TEST(read_state, test_gk20a_channel_read_state, NULL, 0), - UNIT_TEST(remove_support, test_fifo_remove_support, NULL, 0), + UNIT_TEST(init_support, test_fifo_init_support, NULL, 2), + UNIT_TEST(enable, test_gk20a_channel_enable, NULL, 2), + UNIT_TEST(disable, test_gk20a_channel_disable, NULL, 2), + UNIT_TEST(read_state, test_gk20a_channel_read_state, NULL, 2), + UNIT_TEST(remove_support, test_fifo_remove_support, NULL, 2), }; UNIT_MODULE(nvgpu_channel_gk20a, nvgpu_channel_gk20a_tests, UNIT_PRIO_NVGPU_TEST);