Re: [Intel-gfx] [PATCH 02/10] drm/i915: Decouple the stuck pageflip on modeset

2014-09-05 Thread Daniel Vetter
On Thu, Sep 04, 2014 at 08:15:32PM +0300, Ville Syrjälä wrote: On Tue, Sep 02, 2014 at 02:57:37PM +0100, Chris Wilson wrote: If we successfully confuse the hardware, and cause it to drop a queued pageflip, we wait for 60s and issue a warning before continuing on with the modeset. However,

Re: [Intel-gfx] [PATCH 02/10] drm/i915: Decouple the stuck pageflip on modeset

2014-09-05 Thread Chris Wilson
On Fri, Sep 05, 2014 at 09:27:16AM +0200, Daniel Vetter wrote: On Thu, Sep 04, 2014 at 08:15:32PM +0300, Ville Syrjälä wrote: On Tue, Sep 02, 2014 at 02:57:37PM +0100, Chris Wilson wrote: If we successfully confuse the hardware, and cause it to drop a queued pageflip, we wait for 60s and

Re: [Intel-gfx] [PATCH 02/10] drm/i915: Decouple the stuck pageflip on modeset

2014-09-05 Thread Daniel Vetter
On Fri, Sep 05, 2014 at 08:31:20AM +0100, Chris Wilson wrote: On Fri, Sep 05, 2014 at 09:27:16AM +0200, Daniel Vetter wrote: On Thu, Sep 04, 2014 at 08:15:32PM +0300, Ville Syrjälä wrote: On Tue, Sep 02, 2014 at 02:57:37PM +0100, Chris Wilson wrote: If we successfully confuse the

Re: [Intel-gfx] [PATCH 02/10] drm/i915: Decouple the stuck pageflip on modeset

2014-09-04 Thread Ville Syrjälä
On Tue, Sep 02, 2014 at 02:57:37PM +0100, Chris Wilson wrote: If we successfully confuse the hardware, and cause it to drop a queued pageflip, we wait for 60s and issue a warning before continuing on with the modeset. However, this leaves the pending pageflip still stuck indefinitely. Pretend

[Intel-gfx] [PATCH 02/10] drm/i915: Decouple the stuck pageflip on modeset

2014-09-02 Thread Chris Wilson
If we successfully confuse the hardware, and cause it to drop a queued pageflip, we wait for 60s and issue a warning before continuing on with the modeset. However, this leaves the pending pageflip still stuck indefinitely. Pretend to userspace that it does complete, and let us start afresh