gpu: nvgpu: wait for 500 usec before ce reset

Wait for 500 usec before ce reset to ensure that
no memory outstanding requests are pending.

Bug 1699365

Change-Id: I9f73f87cbbdca0208e95ebaee32dd1f764a3cd4f
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1116679
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Seshendra Gadagottu
2016-03-28 17:07:46 -07:00
committed by Terje Bergstrom
parent f5ce107f19
commit c72ea9f83e

View File

@@ -1805,7 +1805,10 @@ void gk20a_enable(struct gk20a *g, u32 units)
void gk20a_reset(struct gk20a *g, u32 units)
{
gk20a_disable(g, units);
udelay(20);
if (units & mc_enable_ce2_enabled_f())
udelay(500);
else
udelay(20);
gk20a_enable(g, units);
}