XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_event Struct Reference

#include <drm.h>

Public Attributes

__u32 type
 
__u32 length
 

Detailed Description

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.

Member Data Documentation

◆ length

__u32 drm_event::length

◆ type

__u32 drm_event::type

The documentation for this struct was generated from the following files: