Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
drm_event Struct Reference

#include <drm.h>

Data Fields

__u32 type
__u32 length

Detailed Description

Header for events written back to userspace on the drm fd. The type defines the type of event, the length specifies the total length of the event (including the header), and user_data is typically a 64 bit value passed with the ioctl that triggered the event. A read on the drm fd will always only return complete events, that is, if for example the read buffer is 100 bytes, 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.

Definition at line 759 of file drm.h.

Field Documentation

__u32 length

Definition at line 761 of file drm.h.

Definition at line 760 of file drm.h.

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