[PATCH] drm: Implement O_NONBLOCK support on /dev/dri/cardN

Daniel Vetter daniel at ffwll.ch
Wed Oct 8 06:09:07 PDT 2014


On Wed, Oct 08, 2014 at 10:45:48AM +0100, Chris Wilson wrote:
> On Wed, Oct 08, 2014 at 11:16:38AM +0200, Daniel Vetter wrote:
> > On Tue, Oct 7, 2014 at 3:13 PM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > > The implmentation is simple in the extreme: we only want to wait for
> > > events if the device was opened in blocking mode, otherwise we grab what
> > > is available and report an error if there was none.
> > >
> > > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > > Cc: dri-devel at lists.freedesktop.org
> >
> > Testcase for nonblocking behaviour in kms_flip?
>
> To the further dismay of anyone running kms_flip today,
> Testcase: igt/kms_flip/nonblocing_read

Not if they upgrade to -nightly ;-) Thanks for the patch, merged to
topic/core-stuff.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the dri-devel mailing list