Re: [Intel-gfx] [PATCH] UXA: Wait until a pageflip actually completes to report it.

2014-05-08 Thread Chris Wilson
On Thu, May 08, 2014 at 01:55:30PM -0700, Eric Anholt wrote: > Chris Wilson writes: > > > On Thu, May 08, 2014 at 08:54:52AM -0700, Eric Anholt wrote: > >> Chris Wilson writes: > >> > >> > On Wed, May 07, 2014 at 10:44:23PM -0700, Jamey Sharp wrote: > >> >> On Wed, May 07, 2014 at 04:55:18PM +0

Re: [Intel-gfx] [PATCH] UXA: Wait until a pageflip actually completes to report it.

2014-05-08 Thread Eric Anholt
Chris Wilson writes: > On Thu, May 08, 2014 at 08:54:52AM -0700, Eric Anholt wrote: >> Chris Wilson writes: >> >> > On Wed, May 07, 2014 at 10:44:23PM -0700, Jamey Sharp wrote: >> >> On Wed, May 07, 2014 at 04:55:18PM +0100, Chris Wilson wrote: >> >> > On Mon, May 05, 2014 at 11:05:07PM -0700,

Re: [Intel-gfx] [PATCH] UXA: Wait until a pageflip actually completes to report it.

2014-05-08 Thread Chris Wilson
On Thu, May 08, 2014 at 08:54:52AM -0700, Eric Anholt wrote: > Chris Wilson writes: > > > On Wed, May 07, 2014 at 10:44:23PM -0700, Jamey Sharp wrote: > >> On Wed, May 07, 2014 at 04:55:18PM +0100, Chris Wilson wrote: > >> > On Mon, May 05, 2014 at 11:05:07PM -0700, Jamey Sharp wrote: > >> > > UX

Re: [Intel-gfx] [PATCH] UXA: Wait until a pageflip actually completes to report it.

2014-05-08 Thread Eric Anholt
Chris Wilson writes: > On Wed, May 07, 2014 at 10:44:23PM -0700, Jamey Sharp wrote: >> On Wed, May 07, 2014 at 04:55:18PM +0100, Chris Wilson wrote: >> > On Mon, May 05, 2014 at 11:05:07PM -0700, Jamey Sharp wrote: >> > > UXA was reporting page-flip completion as soon as the flip was scheduled >>

Re: [Intel-gfx] [PATCH] UXA: Wait until a pageflip actually completes to report it.

2014-05-07 Thread Chris Wilson
On Wed, May 07, 2014 at 10:44:23PM -0700, Jamey Sharp wrote: > On Wed, May 07, 2014 at 04:55:18PM +0100, Chris Wilson wrote: > > On Mon, May 05, 2014 at 11:05:07PM -0700, Jamey Sharp wrote: > > > UXA was reporting page-flip completion as soon as the flip was scheduled > > > with the kernel, instead

Re: [Intel-gfx] [PATCH] UXA: Wait until a pageflip actually completes to report it.

2014-05-07 Thread Jamey Sharp
On Wed, May 07, 2014 at 04:55:18PM +0100, Chris Wilson wrote: > On Mon, May 05, 2014 at 11:05:07PM -0700, Jamey Sharp wrote: > > UXA was reporting page-flip completion as soon as the flip was scheduled > > with the kernel, instead of waiting for the kernel to indicate that the > > flip had actually

Re: [Intel-gfx] [PATCH] UXA: Wait until a pageflip actually completes to report it.

2014-05-07 Thread Chris Wilson
On Mon, May 05, 2014 at 11:05:07PM -0700, Jamey Sharp wrote: > UXA was reporting page-flip completion as soon as the flip was scheduled > with the kernel, instead of waiting for the kernel to indicate that the > flip had actually completed. > > Moving the DRI2SwapComplete call to the right place f

[Intel-gfx] [PATCH] UXA: Wait until a pageflip actually completes to report it.

2014-05-07 Thread Jamey Sharp
UXA was reporting page-flip completion as soon as the flip was scheduled with the kernel, instead of waiting for the kernel to indicate that the flip had actually completed. Moving the DRI2SwapComplete call to the right place fixes all of our Piglit tests for OML_sync_control when run on xf86-vide