Module drm::ffi::drm [] [src]

Structs

drm_agp_binding

DRM_IOCTL_AGP_BIND and DRM_IOCTL_AGP_UNBIND ioctls argument type.

drm_agp_buffer

DRM_IOCTL_AGP_ALLOC and DRM_IOCTL_AGP_FREE ioctls argument type.

drm_agp_info

DRM_IOCTL_AGP_INFO ioctl argument type.

drm_agp_mode

DRM_IOCTL_AGP_ENABLE ioctl argument type.

drm_auth

DRM_IOCTL_GET_MAGIC and DRM_IOCTL_AUTH_MAGIC ioctl argument type.

drm_block
drm_buf_desc

DRM_IOCTL_ADD_BUFS and DRM_IOCTL_MARK_BUFS ioctl argument type.

drm_buf_free

DRM_IOCTL_FREE_BUFS ioctl argument type.

drm_buf_info

DRM_IOCTL_INFO_BUFS ioctl argument type.

drm_buf_map

DRM_IOCTL_MAP_BUFS ioctl argument type.

drm_buf_pub

Buffer information

drm_client

DRM_IOCTL_GET_CLIENT ioctl argument type.

drm_clip_rect

Cliprect.

drm_control

DRM_IOCTL_CONTROL ioctl argument type.

drm_ctx

DRM_IOCTL_ADD_CTX ioctl argument type.

drm_ctx_priv_map
drm_ctx_res

DRM_IOCTL_RES_CTX ioctl argument type.

drm_dma

DRM_IOCTL_DMA ioctl argument type.

drm_drawable_info

Drawable information.

drm_event

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.

drm_event_vblank
drm_gem_flink

DRM_IOCTL_GEM_FLINK ioctl argument type

drm_gem_open

DRM_IOCTL_GEM_OPEN ioctl argument type

drm_get_cap

DRM_IOCTL_GET_CAP ioctl argument type

drm_hw_lock

Hardware lock.

drm_irq_busid

DRM_IOCTL_IRQ_BUSID ioctl argument type.

drm_list
drm_lock

DRM_IOCTL_LOCK, DRM_IOCTL_UNLOCK and DRM_IOCTL_FINISH ioctl argument type.

drm_map

DRM_IOCTL_GET_MAP, DRM_IOCTL_ADD_MAP and DRM_IOCTL_RM_MAP ioctls argument type.

drm_modeset_ctl

DRM_IOCTL_MODESET_CTL ioctl argument type

drm_prime_handle
drm_scatter_gather

DRM_IOCTL_SG_ALLOC ioctl argument type.

drm_set_client_cap

DRM_IOCTL_SET_CLIENT_CAP ioctl argument type

drm_set_version

DRM_IOCTL_SET_VERSION ioctl argument type.

drm_stats

DRM_IOCTL_GET_STATS ioctl argument type.

drm_stats_data
drm_tex_region

Texture region,

drm_unique

DRM_IOCTL_GET_UNIQUE ioctl argument type.

drm_update_draw
drm_version

DRM_IOCTL_VERSION ioctl argument type.

drm_wait_vblank

DRM_IOCTL_WAIT_VBLANK ioctl argument type.

drm_wait_vblank_reply
drm_wait_vblank_request

Enums

drm_buf_desc_flags
drm_control_func
drm_ctx_flags
drm_dma_flags

DMA flags

drm_drawable_info_type_t

DRM_IOCTL_UPDATE_DRAW ioctl argument type.

drm_lock_flags

Hardware locking flags.

drm_map_flags

Memory mapping flags.

drm_map_type

Type of memory to map.

drm_stat_type
drm_vblank_seq_type

Constants

DRM_CAP_ADDFB2_MODIFIERS
DRM_CAP_ASYNC_PAGE_FLIP
DRM_CAP_CURSOR_HEIGHT
DRM_CAP_CURSOR_WIDTH
DRM_CAP_DUMB_BUFFER
DRM_CAP_DUMB_PREFERRED_DEPTH
DRM_CAP_DUMB_PREFER_SHADOW
DRM_CAP_PRIME
DRM_CAP_TIMESTAMP_MONOTONIC
DRM_CAP_VBLANK_HIGH_CRTC
DRM_CLIENT_CAP_ATOMIC

DRM_CLIENT_CAP_ATOMIC

DRM_CLIENT_CAP_STEREO_3D

DRM_CLIENT_CAP_STEREO_3D

DRM_CLIENT_CAP_UNIVERSAL_PLANES

DRM_CLIENT_CAP_UNIVERSAL_PLANES

DRM_COMMAND_BASE

Device specific ioctls should only be in their respective headers The device specific ioctl range is from 0x40 to 0x9f. Generic IOCTLS restart at 0xA0.

DRM_COMMAND_END
DRM_EVENT_FLIP_COMPLETE
DRM_EVENT_VBLANK
DRM_MAX_ORDER

< At least 25 bytes = 32 bytes

DRM_MIN_ORDER

< Name in kernel, /dev, and /proc

DRM_NAME
DRM_PRIME_CAP_EXPORT
DRM_PRIME_CAP_IMPORT
DRM_RAM_PERCENT

< Up to 222 bytes = 4MB

DRM_RDWR
_DRM_POST_MODESET
_DRM_PRE_MODESET
_DRM_VBLANK_HIGH_CRTC_SHIFT

Type Definitions

drm_context_t

< How much system ram can we lock?

drm_drawable_t
drm_magic_t