Re: [PATCH] drm/msm/adreno: fix updating ring fence

2020-08-17 Thread Jordan Crouse
On Wed, Aug 12, 2020 at 05:03:09PM -0700, Rob Clark wrote: > From: Rob Clark > > We need to set it to the most recent completed fence, not the most > recent submitted. Otherwise we have races where we think we can retire > submits that the GPU is not finished with, if the GPU doesn't manage to >

[PATCH] drm/msm/adreno: fix updating ring fence

2020-08-12 Thread Rob Clark
From: Rob Clark We need to set it to the most recent completed fence, not the most recent submitted. Otherwise we have races where we think we can retire submits that the GPU is not finished with, if the GPU doesn't manage to overwrite the seqno before we look at it. This can show up with hang