Revert "gpu: nvgpu: Fix the race between runtime PM and L2 flush"

This patch results in a flaw that doesn't clear the GPU cache. This reverts commit 47f6bc0c2e.

Bug 2687410

Change-Id: If78bd7ca29eb5621d4369cbddf21320e2a77a41a
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2186886
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Debarshi Dutta
2019-08-29 23:02:25 -07:00
committed by mobile promotions
parent 0663838308
commit f57cf74d57
3 changed files with 2 additions and 17 deletions

View File

@@ -110,11 +110,6 @@ void gk20a_busy_noresume(struct gk20a *g)
pm_runtime_get_noresume(dev_from_gk20a(g));
}
int gk20a_busy_try_noresume(struct gk20a *g)
{
return pm_runtime_get_if_in_use(dev_from_gk20a(g));
}
/*
* Check if the device can go busy.
*/