mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
Currently clk_arb wq waits only for tasks. Sometimes this doesnt invoke wq when thread_stop is called. Add a check for thread_stop when waiting in wq. Remove atomic_inc when no job is submitted. Use current_time_ns() instead of ptimer to get time. Bug 200488054 Change-Id: I770d566dd29371bd189d30dd5e60a6b23a9c98ff Signed-off-by: Abdul Salam <absalam@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2012244 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>