From: Chris Wilson Date: Tue, 7 Oct 2014 13:13:51 +0000 (+0100) Subject: drm: Implement O_NONBLOCK support on /dev/dri/cardN X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~76^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd008e5b2953186fc0c6633a885ade95e7043800;p=pandora-kernel.git drm: Implement O_NONBLOCK support on /dev/dri/cardN 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 Cc: dri-devel@lists.freedesktop.org Reviewed-by: Jesse Barnes Testcase: igt/kms_flip/nonblocing_read Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed