Re: [Intel-gfx] [PATCH] drm/i915: Serialize GTT/Aperture accesses on BXT

2017-05-25 Thread Chris Wilson
On Thu, May 25, 2017 at 11:54:03AM +0100, Tvrtko Ursulin wrote: > > On 24/05/2017 16:54, Jon Bloomfield wrote: > >BXT has a H/W issue with IOMMU which can lead to system hangs when > >Aperture accesses are queued within the GAM behind GTT Accesses. > > > >This patch avoids the condition by wrappin

Re: [Intel-gfx] [PATCH] drm/i915: Serialize GTT/Aperture accesses on BXT

2017-05-25 Thread Tvrtko Ursulin
On 24/05/2017 16:54, Jon Bloomfield wrote: BXT has a H/W issue with IOMMU which can lead to system hangs when Aperture accesses are queued within the GAM behind GTT Accesses. This patch avoids the condition by wrapping all GTT updates in stop_machine and using a flushing read prior to restartin

[Intel-gfx] [PATCH] drm/i915: Serialize GTT/Aperture accesses on BXT

2017-05-24 Thread Jon Bloomfield
BXT has a H/W issue with IOMMU which can lead to system hangs when Aperture accesses are queued within the GAM behind GTT Accesses. This patch avoids the condition by wrapping all GTT updates in stop_machine and using a flushing read prior to restarting the machine. The stop_machine guarantees no