|
XenevaOS
|
#include <drm.h>
Public Attributes | |
| __u32 | type |
| __u32 | length |
struct drm_event - Header for DRM events @type: event type. @length: total number of payload bytes (including header).
This struct is a header for events written back to user-space on the DRM FD. A read on the DRM FD will always only return complete events: e.g. if the read buffer is 100 bytes large and there are two 64 byte events pending, only one will be returned.
Event types 0 - 0x7fffffff are generic DRM events, 0x80000000 and up are chipset specific. Generic DRM events include &DRM_EVENT_VBLANK, &DRM_EVENT_FLIP_COMPLETE and &DRM_EVENT_CRTC_SEQUENCE.
| __u32 drm_event::length |
| __u32 drm_event::type |