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

Chris Wilson chris at chris-wilson.co.uk
Wed Oct 8 02:45:48 PDT 2014


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
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list