Re: [Nouveau] [Patches][nouveau/kms]: Precise Vblank and pageflip timestamping v2

2012-02-16 Thread Lucas Stach
Ignore this, apparently git send-email messed up and relayed the old patches. WTF? Am Freitag, den 17.02.2012, 00:28 +0100 schrieb Lucas Stach: > Just updated versions of the patches send by Mario Kleiner. This ones are > rebased on top of the nouveau tree and updated according to the review > fee

[Nouveau] [PATCH 2/2] drm/nouveau: implement precise vblank timestamping

2012-02-16 Thread Lucas Stach
This patch implements the driver hooks needed for precise vblank timestamping. This is a complementary patch to Mario Kleiner's patches to improve swap scheduling. With the complete patchset applied nouveau will be able to provide correct and precise pageflip timestamps (compliant to OML_sync_contr

[Nouveau] [PATCH 1/2] drm/nouveau: Use drm_vblank_count_and_time() for pageflip completion events.

2012-02-16 Thread Lucas Stach
From: Mario Kleiner Emit kms pageflip completion events with proper vblank count and timestamp for the vblank interval in which the pageflip completed. This makes the timestamps and counts consistent with what the OML_sync_control spec defines. v2 Lucas Stach: rebased on top of nouveau tree and

[Nouveau] [Patches][nouveau/kms]: Precise Vblank and pageflip timestamping v2

2012-02-16 Thread Lucas Stach
Just updated versions of the patches send by Mario Kleiner. This ones are rebased on top of the nouveau tree and updated according to the review feedback. Regards, Lucas ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/

Re: [Nouveau] [PATCH 1/9] dri2: Fix can_exchange() to allow page-flipping on new servers.

2012-02-16 Thread Michel Dänzer
On Don, 2012-02-16 at 00:45 +0100, Mario Kleiner wrote: > can_exchange() fails on at least Xorg 1.12+. This fixes > it in the same way it was fixed in the ati & intel ddx. > > Signed-off-by: Mario Kleiner > --- > src/nouveau_dri2.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) >

Re: [Nouveau] [PATCH 9/9] dri2: Fix corner case crash for swaplimit > 1

2012-02-16 Thread Michel Dänzer
On Don, 2012-02-16 at 00:45 +0100, Mario Kleiner wrote: > If a swaplimit > 1 is set on a server which > supports the swaplimit api (XOrg 1.12.0+), > the following can happen: > > 1. Client calls glXSwapBuffersMscOML() with a >swap target > 1 vblank in the future, or a >client calls glXSwa