Re: [PATCH] drm: Add async event synchronization for drmWaitVblank

2009-10-25 Thread Dave Airlie
On Thu, Oct 15, 2009 at 7:48 AM, Jesse Barnes wrote: > On Wed, 14 Oct 2009 14:47:22 -0700 > Jesse Barnes wrote: > >> On Fri, 11 Sep 2009 14:33:34 -0400 >> "Kristian Høgsberg" wrote: >> >> > This patch adds a new flag to the drmWaitVblank ioctl, which asks >> > the drm to return immediately and n

Re: [PATCH] drm: Add async event synchronization for drmWaitVblank

2009-10-14 Thread Jesse Barnes
On Wed, 14 Oct 2009 14:47:22 -0700 Jesse Barnes wrote: > On Fri, 11 Sep 2009 14:33:34 -0400 > "Kristian Høgsberg" wrote: > > > This patch adds a new flag to the drmWaitVblank ioctl, which asks > > the drm to return immediately and notify userspace when the > > specified vblank sequence happens

Re: [PATCH] drm: Add async event synchronization for drmWaitVblank

2009-10-14 Thread Jesse Barnes
On Fri, 11 Sep 2009 14:33:34 -0400 "Kristian Høgsberg" wrote: > This patch adds a new flag to the drmWaitVblank ioctl, which asks the > drm to return immediately and notify userspace when the specified > vblank sequence happens by sending an event back on the drm fd. > > The event mechanism work

Re: [PATCH] drm: Add async event synchronization for drmWaitVblank

2009-09-18 Thread Jesse Barnes
Just one comment so far now that I'm using this code. On Fri, 11 Sep 2009 14:33:34 -0400 "Kristian Høgsberg" wrote: > + file_priv->event_space -= sizeof e->event; > + seq = drm_vblank_count(dev, pipe); > + if ((vblwait->request.type & _DRM_VBLANK_NEXTONMISS) && > + (seq - vblw

Re: [PATCH] drm: Add async event synchronization for drmWaitVblank

2009-09-12 Thread Jesse Barnes
On Sat, 12 Sep 2009 16:02:10 +0200 Thomas Hellstrom wrote: > Jesse Barnes wrote: > > On Fri, 11 Sep 2009 14:33:34 -0400 > > "Kristian Høgsberg" wrote: > > > > > >> This patch adds a new flag to the drmWaitVblank ioctl, which asks > >> the drm to return immediately and notify userspace when th

Re: [PATCH] drm: Add async event synchronization for drmWaitVblank

2009-09-12 Thread Thomas Hellstrom
Jesse Barnes wrote: > On Fri, 11 Sep 2009 14:33:34 -0400 > "Kristian Høgsberg" wrote: > > >> This patch adds a new flag to the drmWaitVblank ioctl, which asks the >> drm to return immediately and notify userspace when the specified >> vblank sequence happens by sending an event back on the drm

Re: [PATCH] drm: Add async event synchronization for drmWaitVblank

2009-09-11 Thread Jesse Barnes
On Fri, 11 Sep 2009 14:33:34 -0400 "Kristian Høgsberg" wrote: > This patch adds a new flag to the drmWaitVblank ioctl, which asks the > drm to return immediately and notify userspace when the specified > vblank sequence happens by sending an event back on the drm fd. > > The event mechanism work

[PATCH] drm: Add async event synchronization for drmWaitVblank

2009-09-11 Thread Kristian Høgsberg
This patch adds a new flag to the drmWaitVblank ioctl, which asks the drm to return immediately and notify userspace when the specified vblank sequence happens by sending an event back on the drm fd. The event mechanism works with the other flags supported by the ioctls, specifically, the vblank s