summaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorChris Wilson2014-10-07 15:13:51 +0200
committerDaniel Vetter2014-10-08 15:07:07 +0200
commitbd008e5b2953186fc0c6633a885ade95e7043800 (patch)
treefd2dccbe46c751fd9db37005f16517212ab339ad /include/drm/drmP.h
parentdrm/core: use helper to check driver features (diff)
downloadkernel-qcow2-linux-bd008e5b2953186fc0c6633a885ade95e7043800.tar.gz
kernel-qcow2-linux-bd008e5b2953186fc0c6633a885ade95e7043800.tar.xz
kernel-qcow2-linux-bd008e5b2953186fc0c6633a885ade95e7043800.zip
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 <chris@chris-wilson.co.uk> Cc: dri-devel@lists.freedesktop.org Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Testcase: igt/kms_flip/nonblocing_read Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drmP.h')
0 files changed, 0 insertions, 0 deletions