mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: unit: init: cleanup quiesce
The init unit test starts the quiesce feature during testing. This includes starting the quiesce thread. The thread should be stopped when the init unit tests complete, so call nvgpu_sw_quiesce_remove_support() when complete. Bug 2732985 Change-Id: I701e1dd1ce753781fa81327e3cdc7e2881a33d00 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2224307 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
c0a7556cb3
commit
c6affb85ba
@@ -159,6 +159,9 @@ int test_free_env(struct unit_module *m,
|
||||
nvgpu_posix_io_delete_reg_space(g, mc_boot_0_r());
|
||||
nvgpu_posix_io_delete_reg_space(g, GP10B_FUSE_REG_BASE);
|
||||
|
||||
/* Clean up quiesce thread */
|
||||
nvgpu_sw_quiesce_remove_support(g);
|
||||
|
||||
return UNIT_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user