- unsigned int drm_poll(struct file * filp, struct poll_table_struct * wait);
- file pointer
- poll waiter table
This function must be used by drivers as their .read #file_operations method iff they use DRM events for asynchronous signalling to userspace. Since events are used by the KMS API for vblank and page flip completion this means all modern display drivers must use it.
See also drm_read.
Mask of POLL flags indicating the current status of the file.
Jesse Barnes <[email protected]>
- Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
- Driver internals
Daniel Vetter <[email protected]>
- Contributions all over the place
Lukas Wunner <[email protected]>
- vga_switcheroo documentation