Re: [PATCH 3/3] drm/amdgpu: Switch to interrupted wait to recover from ring hang.

2018-04-24 Thread Panariti, David
04/24/2018 11:52 AM, Panariti, David wrote: > Hi, > > It looks like there can be an infinite loop if neither of the if()'s become > true. > Is that an impossible condition? That intended, we want to wait until either the fence signals or fatal signal received, we don't want to terminate

Re: [PATCH 3/3] drm/amdgpu: Switch to interrupted wait to recover from ring hang.

2018-04-24 Thread Panariti, David
04/24/2018 11:52 AM, Panariti, David wrote: > Hi, > > It looks like there can be an infinite loop if neither of the if()'s become > true. > Is that an impossible condition? That intended, we want to wait until either the fence signals or fatal signal received, we don't want to terminate

RE: [PATCH 3/3] drm/amdgpu: Switch to interrupted wait to recover from ring hang.

2018-04-24 Thread Panariti, David
g; amd-...@lists.freedesktop.org Cc: Deucher, Alexander <alexander.deuc...@amd.com>; Koenig, Christian <christian.koe...@amd.com>; Panariti, David <david.panar...@amd.com>; o...@redhat.com; a...@linux-foundation.org; ebied...@xmission.com; Grodzovsky, Andrey <andrey.grodzov...@amd.com> S

RE: [PATCH 3/3] drm/amdgpu: Switch to interrupted wait to recover from ring hang.

2018-04-24 Thread Panariti, David
, Alexander ; Koenig, Christian ; Panariti, David ; o...@redhat.com; a...@linux-foundation.org; ebied...@xmission.com; Grodzovsky, Andrey Subject: [PATCH 3/3] drm/amdgpu: Switch to interrupted wait to recover from ring hang. If the ring is hanging for some reason allow to recover the waiting by sending