Re: [PATCH] drm/amdgpu: wait for all rings to drain before runtime suspending

2019-12-11 Thread Alex Deucher
On Wed, Dec 11, 2019 at 8:07 AM Christian König wrote: > > Am 11.12.19 um 03:26 schrieb zhoucm1: > > > > On 2019/12/11 上午6:08, Alex Deucher wrote: > >> Add a safety check to runtime suspend to make sure all outstanding > >> fences have signaled before we suspend. Doesn't fix any known issue. >

Re: [PATCH] drm/amdgpu: wait for all rings to drain before runtime suspending

2019-12-11 Thread Christian König
Am 11.12.19 um 03:26 schrieb zhoucm1: On 2019/12/11 上午6:08, Alex Deucher wrote: Add a safety check to runtime suspend to make sure all outstanding fences have signaled before we suspend.  Doesn't fix any known issue. We already do this via the fence driver suspend function, but we just force

Re: [PATCH] drm/amdgpu: wait for all rings to drain before runtime suspending

2019-12-10 Thread zhoucm1
On 2019/12/11 上午6:08, Alex Deucher wrote: Add a safety check to runtime suspend to make sure all outstanding fences have signaled before we suspend. Doesn't fix any known issue. We already do this via the fence driver suspend function, but we just force completion rather than bailing. This

[PATCH] drm/amdgpu: wait for all rings to drain before runtime suspending

2019-12-10 Thread Alex Deucher
Add a safety check to runtime suspend to make sure all outstanding fences have signaled before we suspend. Doesn't fix any known issue. We already do this via the fence driver suspend function, but we just force completion rather than bailing. This bails on runtime suspend so we can try again