In GPU shutdown path, we currently wait for 2s to allow
all other work to finish.
Increase this time to 5s as a workaround in case
2s is insufficient
This commit should be reverted once proper fixes are merged
Bug
200165480
Change-Id: I1bb99568235c327dab53114afb902507fb5f0792
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/931024
(cherry picked from commit
4d1baeff1ace5a03ee15ec1c27081d328c21f739)
Reviewed-on: http://git-master/r/
1002869
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
{
#ifdef CONFIG_PM_RUNTIME
unsigned long timeout = jiffies +
- msecs_to_jiffies(GK20A_WAIT_FOR_IDLE_MS);
+ msecs_to_jiffies(5000);
int ref_cnt;
#endif
struct gk20a_platform *platform = platform_get_drvdata(pdev);