mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Sometimes nvgpu_sw_quiesce_thread does not get a chance to run before common.init unit tests complete. When it finally gets scheduled, related gk20a context is invalid and it crashes in the pthread wrapper. Make sure nvgpu_sw_quiesce_thread has started in nvgpu_sw_quiesce_init_support, to avoid such issues. Bug 2732985 Change-Id: I0a46f271a926b5f0c203b465f69556b2b46d96c5 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2222560 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>