id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
DPSW_OPT_FLOODING_DIS(9) | NAME DPSW_OPT_FLOODING_DIS - Flooding was disabled at device create
SYNOPSIS DPSW_OPT_FLOODING_DIS
SEE ALSO Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpsw.h DPSW_OPT_MULTICAST_DIS(9), DPSW_OPT_CTRL_IF_DIS(9), enum dpsw_component_type(9), enum dpsw_flooding_cfg(9), enum dpsw_broadc... |
DPSW_OPT_MULTICAST_DIS(9) | NAME DPSW_OPT_MULTICAST_DIS - Multicast was disabled at device create
SYNOPSIS DPSW_OPT_MULTICAST_DIS
SEE ALSO Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpsw.h DPSW_OPT_FLOODING_DIS(9), DPSW_OPT_CTRL_IF_DIS(9), enum dpsw_component_type(9), enum dpsw_flooding_cfg(9), enum dpsw_bro... |
DPU_DEBUG(9) | NAME DPU_DEBUG - macro for kms/plane/crtc/encoder/connector logs
SYNOPSIS DPU_DEBUG (fmt , ... );
ARGUMENTS fmt Pointer to format string
... variable arguments
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h DPU_DEBUG_DRIVER(9), ktime_compare_safe(9)
April 2026 ... |
DPU_DEBUG_DRIVER(9) | NAME DPU_DEBUG_DRIVER - macro for hardware driver logging
SYNOPSIS DPU_DEBUG_DRIVER (fmt , ... );
ARGUMENTS fmt Pointer to format string
... variable arguments
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h DPU_DEBUG(9), ktime_compare_safe(9)
April 2026 ... |
DRM_ACCEL_FOPS(9) | NAME DRM_ACCEL_FOPS - Default drm accelerators file operations
SYNOPSIS DRM_ACCEL_FOPS
DESCRIPTION This macro provides a shorthand for setting the accelerator file ops in the file_operations structure. If all you need are the default ops, use DEFINE_DRM_ACCEL_FOPS instead.
SEE ALSO Kernel file ./include/drm/drm_acc... |
DRM_ASAHI_BARRIER_NONE(9) | NAME DRM_ASAHI_BARRIER_NONE - Command index for no barrier
SYNOPSIS DRM_ASAHI_BARRIER_NONE
DESCRIPTION This special value may be passed in to drm_asahi_command::vdm_barrier or drm_asahi_command::cdm_barrier to indicate that the respective subqueue should not wait on any previous work.
SEE ALSO Kernel file ./includ... |
DRM_CAP_ADDFB2_MODIFIERS(9) | NAME DRM_CAP_ADDFB2_MODIFIERS -
SYNOPSIS DRM_CAP_ADDFB2_MODIFIERS
DESCRIPTION If set to 1, the driver supports supplying modifiers in the DRM_IOCTL_MODE_ADDFB2 ioctl.
SEE ALSO Kernel file ./tools/include/uapi/drm/drm.h struct drm_gem_close(9), struct drm_gem_flink(9), struct drm_gem_open(9), struct drm_gem_change_h... |
DRM_CAP_ASYNC_PAGE_FLIP(9) | NAME DRM_CAP_ASYNC_PAGE_FLIP -
SYNOPSIS DRM_CAP_ASYNC_PAGE_FLIP
DESCRIPTION If set to 1, the driver supports DRM_MODE_PAGE_FLIP_ASYNC for legacy page-flips.
SEE ALSO Kernel file ./tools/include/uapi/drm/drm.h struct drm_gem_close(9), struct drm_gem_flink(9), struct drm_gem_open(9), struct drm_gem_change_handle(9), ... |
DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP(9) | NAME DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP -
SYNOPSIS DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP
DESCRIPTION If set to 1, the driver supports DRM_MODE_PAGE_FLIP_ASYNC for atomic commits.
SEE ALSO Kernel file ./tools/include/uapi/drm/drm.h struct drm_gem_close(9), struct drm_gem_flink(9), struct drm_gem_open(9), struct drm_gem_change_... |
DRM_CAP_CRTC_IN_VBLANK_EVENT(9) | NAME DRM_CAP_CRTC_IN_VBLANK_EVENT -
SYNOPSIS DRM_CAP_CRTC_IN_VBLANK_EVENT
DESCRIPTION If set to 1, the kernel supports reporting the CRTC ID in drm_event_vblank.crtc_id for the DRM_EVENT_VBLANK and DRM_EVENT_FLIP_COMPLETE events. Starting kernel version 4.12, this capability is always set to 1.
SEE ALSO Kernel fil... |
DRM_CAP_CURSOR_HEIGHT(9) | NAME DRM_CAP_CURSOR_HEIGHT -
SYNOPSIS DRM_CAP_CURSOR_HEIGHT
DESCRIPTION See DRM_CAP_CURSOR_WIDTH.
SEE ALSO Kernel file ./tools/include/uapi/drm/drm.h struct drm_gem_close(9), struct drm_gem_flink(9), struct drm_gem_open(9), struct drm_gem_change_handle(9), DRM_CAP_DUMB_BUFFER(9), DRM_CAP_VBLANK_HIGH_CRTC(9), DRM_CA... |
DRM_CAP_CURSOR_WIDTH(9) | NAME DRM_CAP_CURSOR_WIDTH -
SYNOPSIS DRM_CAP_CURSOR_WIDTH
DESCRIPTION The “CURSOR_WIDTH and CURSOR_HEIGHT“ capabilities return a valid width x height combination for the hardware cursor. The intention is that a hardware agnostic userspace can query a cursor plane size to use. Note that the cross-driver contract is... |
DRM_CAP_DUMB_BUFFER(9) | NAME DRM_CAP_DUMB_BUFFER -
SYNOPSIS DRM_CAP_DUMB_BUFFER
DESCRIPTION If set to 1, the driver supports creating dumb buffers via the DRM_IOCTL_MODE_CREATE_DUMB ioctl.
SEE ALSO Kernel file ./tools/include/uapi/drm/drm.h struct drm_gem_close(9), struct drm_gem_flink(9), struct drm_gem_open(9), struct drm_gem_c... |
DRM_CAP_DUMB_PREFERRED_DEPTH(9) | NAME DRM_CAP_DUMB_PREFERRED_DEPTH -
SYNOPSIS DRM_CAP_DUMB_PREFERRED_DEPTH
DESCRIPTION The preferred bit depth for dumb buffers. The bit depth is the number of bits used to indicate the color of a single pixel excluding any padding. This is different from the number of bits per pixel. For instance, XRGB8888 h... |
DRM_CAP_DUMB_PREFER_SHADOW(9) | NAME DRM_CAP_DUMB_PREFER_SHADOW -
SYNOPSIS DRM_CAP_DUMB_PREFER_SHADOW
DESCRIPTION If set to 1, the driver prefers userspace to render to a shadow buffer instead of directly rendering to a dumb buffer. For best speed, userspace should do streaming ordered memory copies into the dumb buffer and never read from it.... |
DRM_CAP_PAGE_FLIP_TARGET(9) | NAME DRM_CAP_PAGE_FLIP_TARGET -
SYNOPSIS DRM_CAP_PAGE_FLIP_TARGET
DESCRIPTION If set to 1, the driver supports the DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE and DRM_MODE_PAGE_FLIP_TARGET_RELATIVE flags in drm_mode_crtc_page_flip_target.flags for the DRM_IOCTL_MODE_PAGE_FLIP ioctl.
SEE ALSO Kernel file ./tools/include/uapi... |
DRM_CAP_PRIME(9) | NAME DRM_CAP_PRIME -
SYNOPSIS DRM_CAP_PRIME
DESCRIPTION Bitfield of supported PRIME sharing capabilities. See DRM_PRIME_CAP_IMPORT and DRM_PRIME_CAP_EXPORT. Starting from kernel version 6.6, both DRM_PRIME_CAP_IMPORT and DRM_PRIME_CAP_EXPORT are always advertised. PRIME buffers are exposed as dma-buf file desc... |
DRM_CAP_SYNCOBJ(9) | NAME DRM_CAP_SYNCOBJ -
SYNOPSIS DRM_CAP_SYNCOBJ
DESCRIPTION If set to 1, the driver supports sync objects. See :ref:`drm_sync_objects`.
SEE ALSO Kernel file ./tools/include/uapi/drm/drm.h struct drm_gem_close(9), struct drm_gem_flink(9), struct drm_gem_open(9), struct drm_gem_change_handle(9), DRM_CAP_DUMB_BUFFER(9... |
DRM_CAP_SYNCOBJ_TIMELINE(9) | NAME DRM_CAP_SYNCOBJ_TIMELINE -
SYNOPSIS DRM_CAP_SYNCOBJ_TIMELINE
DESCRIPTION If set to 1, the driver supports timeline operations on sync objects. See :ref:`drm_sync_objects`.
SEE ALSO Kernel file ./tools/include/uapi/drm/drm.h struct drm_gem_close(9), struct drm_gem_flink(9), struct drm_gem_open(9), struct drm_ge... |
DRM_CAP_TIMESTAMP_MONOTONIC(9) | NAME DRM_CAP_TIMESTAMP_MONOTONIC -
SYNOPSIS DRM_CAP_TIMESTAMP_MONOTONIC
DESCRIPTION If set to 0, the kernel will report timestamps with “CLOCK_REALTIME in struct drm_event_vblank. If set to 1, the kernel will report timestamps with CLOCK_MONOTONIC. See clock_gettime(2)“ for the definition of these clocks. Start... |
DRM_CAP_VBLANK_HIGH_CRTC(9) | NAME DRM_CAP_VBLANK_HIGH_CRTC -
SYNOPSIS DRM_CAP_VBLANK_HIGH_CRTC
DESCRIPTION If set to 1, the kernel supports specifying a :ref:`CRTC index<crtc_index>` in the high bits of drm_wait_vblank_request.type. Starting kernel version 2.6.39, this capability is always set to 1.
SEE ALSO Kernel file ./tools/include/uap... |
DRM_CLIENT_CAP_ASPECT_RATIO(9) | NAME DRM_CLIENT_CAP_ASPECT_RATIO -
SYNOPSIS DRM_CLIENT_CAP_ASPECT_RATIO
DESCRIPTION If set to 1, the DRM core will provide aspect ratio information in modes. See “DRM_MODE_FLAG_PIC_AR_*“. This capability is always supported for all drivers starting from kernel version 4.18.
SEE ALSO Kernel file ./tools/include/ua... |
DRM_CLIENT_CAP_ATOMIC(9) | NAME DRM_CLIENT_CAP_ATOMIC -
SYNOPSIS DRM_CLIENT_CAP_ATOMIC
DESCRIPTION If set to 1, the DRM core will expose atomic properties to userspace. This implicitly enables DRM_CLIENT_CAP_UNIVERSAL_PLANES and DRM_CLIENT_CAP_ASPECT_RATIO. If the driver doesn't support atomic mode-setting, enabling this capability will fai... |
DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT(9) | NAME DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT -
SYNOPSIS DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT
DESCRIPTION Drivers for para-virtualized hardware (e.g. vmwgfx, qxl, virtio and virtualbox) have additional restrictions for cursor planes (thus making cursor planes on those drivers not truly universal,) e.g. they need cur... |
DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE(9) | NAME DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE -
SYNOPSIS DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE
DESCRIPTION If set to 1 the DRM core will allow setting the COLOR_PIPELINE property on a drm_plane, as well as drm_colorop properties. Setting of these plane properties will be rejected when this client cap is set: - COLOR_ENCOD... |
DRM_CLIENT_CAP_STEREO_3D(9) | NAME DRM_CLIENT_CAP_STEREO_3D -
SYNOPSIS DRM_CLIENT_CAP_STEREO_3D
DESCRIPTION If set to 1, the DRM core will expose the stereo 3D capabilities of the monitor by advertising the supported 3D layouts in the flags of struct drm_mode_modeinfo. See “DRM_MODE_FLAG_3D_*“. This capability is always sup‐ ported for all drive... |
DRM_CLIENT_CAP_UNIVERSAL_PLANES(9) | NAME DRM_CLIENT_CAP_UNIVERSAL_PLANES -
SYNOPSIS DRM_CLIENT_CAP_UNIVERSAL_PLANES
DESCRIPTION If set to 1, the DRM core will expose all planes (overlay, primary, and cursor) to userspace. This capability has been introduced in kernel version 3.15. Starting from kernel version 3.17, this capability is always sup‐ port... |
DRM_CLIENT_CAP_WRITEBACK_CONNECTORS(9) | NAME DRM_CLIENT_CAP_WRITEBACK_CONNECTORS -
SYNOPSIS DRM_CLIENT_CAP_WRITEBACK_CONNECTORS
DESCRIPTION If set to 1, the DRM core will expose special connectors to be used for writing back to memory the scene setup in the commit. The client must enable DRM_CLIENT_CAP_ATOMIC first. This capability is always supported ... |
DRM_CRTC_HELPER_VBLANK_FUNCS(9) | NAME DRM_CRTC_HELPER_VBLANK_FUNCS - Default implementation for VBLANK helpers
SYNOPSIS DRM_CRTC_HELPER_VBLANK_FUNCS
DESCRIPTION This macro initializes struct drm_crtc_helper_funcs to default helpers for VBLANK handling.
SEE ALSO Kernel file ./include/drm/drm_vblank_helper.h DRM_CRTC_VBLANK_TIMER_FUNCS(9)
April 2026... |
DRM_CRTC_VBLANK_TIMER_FUNCS(9) | NAME DRM_CRTC_VBLANK_TIMER_FUNCS - Default implementation for VBLANK timers
SYNOPSIS DRM_CRTC_VBLANK_TIMER_FUNCS
DESCRIPTION This macro initializes struct drm_crtc_funcs to default helpers for VBLANK timers.
SEE ALSO Kernel file ./include/drm/drm_vblank_helper.h DRM_CRTC_HELPER_VBLANK_FUNCS(9)
April 2026 ... |
DRM_DEBUGFS_GPUVA_INFO(9) | NAME DRM_DEBUGFS_GPUVA_INFO - &drm_info_list entry to dump a GPU VA space
SYNOPSIS DRM_DEBUGFS_GPUVA_INFO (show , data );
ARGUMENTS show the drm_info_list's show callback
data driver private data
DESCRIPTION Drivers should use this macro to define a drm_info_list entry to provide a debugfs fi... |
DRM_DEV_DEBUG(9) | NAME DRM_DEV_DEBUG - Debug output for generic drm code
SYNOPSIS DRM_DEV_DEBUG (dev , fmt , ... );
ARGUMENTS dev device pointer
fmt printf like format string.
... variable arguments
NOTE this is deprecated in favor of drm_dbg_core.
SEE ALSO Kernel file ./include/drm/drm_pri... |
DRM_DEV_DEBUG_DRIVER(9) | NAME DRM_DEV_DEBUG_DRIVER - Debug output for vendor specific part of the driver
SYNOPSIS DRM_DEV_DEBUG_DRIVER (dev , fmt , ... );
ARGUMENTS dev device pointer
fmt printf like format string.
... variable arguments
NOTE this is deprecated in favor of drm_dbg or dev_dbg.
SEE ALS... |
DRM_DEV_DEBUG_KMS(9) | NAME DRM_DEV_DEBUG_KMS - Debug output for modesetting code
SYNOPSIS DRM_DEV_DEBUG_KMS (dev , fmt , ... );
ARGUMENTS dev device pointer
fmt printf like format string.
... variable arguments
NOTE this is deprecated in favor of drm_dbg_kms.
SEE ALSO Kernel file ./include/drm/d... |
DRM_DEV_ERROR(9) | NAME DRM_DEV_ERROR - Error output.
SYNOPSIS DRM_DEV_ERROR (dev , fmt , ... );
ARGUMENTS dev device pointer
fmt printf like format string.
... variable arguments
NOTE this is deprecated in favor of drm_err or dev_err.
SEE ALSO Kernel file ./include/drm/drm_print.h Kernel ... |
DRM_DEV_ERROR_RATELIMITED(9) | NAME DRM_DEV_ERROR_RATELIMITED - Rate limited error output.
SYNOPSIS DRM_DEV_ERROR_RATELIMITED (dev , fmt , ... );
ARGUMENTS dev device pointer
fmt printf like format string.
... variable arguments
NOTE this is deprecated in favor of drm_err_ratelimited or dev_err_ratelimited.... |
DRM_EVENT_CRTC_SEQUENCE(9) | NAME DRM_EVENT_CRTC_SEQUENCE - CRTC sequence event
SYNOPSIS DRM_EVENT_CRTC_SEQUENCE
DESCRIPTION This event is sent in response to DRM_IOCTL_CRTC_QUEUE_SEQUENCE. The event payload is a struct drm_event_crtc_sequence.
SEE ALSO Kernel file ./tools/include/uapi/drm/drm.h struct drm_gem_close(9), struct drm_gem_flink(9... |
DRM_EVENT_FLIP_COMPLETE(9) | NAME DRM_EVENT_FLIP_COMPLETE - page-flip completion event
SYNOPSIS DRM_EVENT_FLIP_COMPLETE
DESCRIPTION This event is sent in response to an atomic commit or legacy page-flip with the DRM_MODE_PAGE_FLIP_EVENT flag set. The event payload is a struct drm_event_vblank.
SEE ALSO Kernel file ./tools/include/uapi/drm/drm... |
DRM_EVENT_VBLANK(9) | NAME DRM_EVENT_VBLANK - vertical blanking event
SYNOPSIS DRM_EVENT_VBLANK
DESCRIPTION This event is sent in response to DRM_IOCTL_WAIT_VBLANK with the _DRM_VBLANK_EVENT flag set. The event payload is a struct drm_event_vblank.
SEE ALSO Kernel file ./tools/include/uapi/drm/drm.h struct drm_gem_close(9), struct drm_... |
DRM_FB_HELPER_DEFAULT_OPS(9) | NAME DRM_FB_HELPER_DEFAULT_OPS - helper define for drm drivers
SYNOPSIS DRM_FB_HELPER_DEFAULT_OPS
DESCRIPTION Helper define to register default implementations of drm_fb_helper functions. To be used in struct fb_ops of drm drivers.
SEE ALSO Kernel file ./include/drm/drm_fb_helper.h struct drm_fb_helper_surface_size(... |
DRM_FORMAT_CONV_STATE_INIT(9) | NAME DRM_FORMAT_CONV_STATE_INIT - Initializer for struct drm_format_conv_state
SYNOPSIS DRM_FORMAT_CONV_STATE_INIT
DESCRIPTION Initializes an instance of struct drm_format_conv_state to default values.
SEE ALSO Kernel file ./include/drm/drm_format_helper.h struct drm_format_conv_state(9), DRM_FORMAT_CONV_STATE_INIT_... |
DRM_FORMAT_CONV_STATE_INIT_PREALLOCATED(9) | NAME DRM_FORMAT_CONV_STATE_INIT_PREALLOCATED - Initializer for struct drm_format_conv_state
SYNOPSIS DRM_FORMAT_CONV_STATE_INIT_PREALLOCATED (_mem , _size );
ARGUMENTS _mem The preallocated memory area
_size The number of bytes in _mem
DESCRIPTION Initializes an instance of struct drm_format_con... |
DRM_FORMAT_MAX_PLANES(9) | NAME DRM_FORMAT_MAX_PLANES - maximum number of planes a DRM format can have
SYNOPSIS DRM_FORMAT_MAX_PLANES
SEE ALSO Kernel file ./include/drm/drm_fourcc.h struct drm_format_info(9), drm_format_info_is_yuv_packed(9), drm_format_info_is_yuv_semiplanar(9), drm_format_info_is_yuv_planar(9), drm_format_info_is_yuv_sampli... |
DRM_GEM_DMA_DRIVER_OPS(9) | NAME DRM_GEM_DMA_DRIVER_OPS - DMA GEM driver operations
SYNOPSIS DRM_GEM_DMA_DRIVER_OPS
DESCRIPTION This macro provides a shortcut for setting the default GEM operations in the drm_driver structure. Drivers that come with their own implementation of struct drm_driver.dumb_create should use DRM_GEM_DMA_D... |
DRM_GEM_DMA_DRIVER_OPS_VMAP(9) | NAME DRM_GEM_DMA_DRIVER_OPS_VMAP - DMA GEM driver operations ensuring a virtual address on the buffer
SYNOPSIS DRM_GEM_DMA_DRIVER_OPS_VMAP
DESCRIPTION This macro provides a shortcut for setting the default GEM operations in the drm_driver structure for drivers that need the virtual address also on imported buffers... |
DRM_GEM_DMA_DRIVER_OPS_VMAP_WITH_DUMB_CREATE(9) | NAME DRM_GEM_DMA_DRIVER_OPS_VMAP_WITH_DUMB_CREATE - DMA GEM driver operations ensuring a virtual address on the buffer
SYNOPSIS DRM_GEM_DMA_DRIVER_OPS_VMAP_WITH_DUMB_CREATE (dumb_create_func );
ARGUMENTS dumb_create_func callback function for .dumb_create
DESCRIPTION This macro provides a shortcut for setting the de... |
DRM_GEM_DMA_DRIVER_OPS_WITH_DUMB_CREATE(9) | NAME DRM_GEM_DMA_DRIVER_OPS_WITH_DUMB_CREATE - DMA GEM driver operations
SYNOPSIS DRM_GEM_DMA_DRIVER_OPS_WITH_DUMB_CREATE (dumb_create_func );
ARGUMENTS dumb_create_func callback function for .dumb_create
DESCRIPTION This macro provides a shortcut for setting the default GEM operations in the drm_driver structure. ... |
DRM_GEM_FOPS(9) | NAME DRM_GEM_FOPS - Default drm GEM file operations
SYNOPSIS DRM_GEM_FOPS
DESCRIPTION This macro provides a shorthand for setting the GEM file ops in the file_operations structure. If all you need are the default ops, use DEFINE_DRM_GEM_FOPS instead.
SEE ALSO Kernel file ./include/drm/drm_gem.h enum drm_gem_objec... |
DRM_GEM_SHADOW_PLANE_FUNCS(9) | NAME DRM_GEM_SHADOW_PLANE_FUNCS - Initializes struct drm_plane_funcs for shadow-buffered planes
SYNOPSIS DRM_GEM_SHADOW_PLANE_FUNCS
DESCRIPTION Drivers may use GEM BOs as shadow buffers over the framebuffer memory. This macro initializes struct drm_plane_funcs to use the rsp helper functions.
SEE ALSO Kernel file ... |
DRM_GEM_SHADOW_PLANE_HELPER_FUNCS(9) | NAME DRM_GEM_SHADOW_PLANE_HELPER_FUNCS - Initializes struct drm_plane_helper_funcs for shadow-buffered planes
SYNOPSIS DRM_GEM_SHADOW_PLANE_HELPER_FUNCS
DESCRIPTION Drivers may use GEM BOs as shadow buffers over the framebuffer memory. This macro initializes struct drm_plane_helper_funcs to use the rsp helper functio... |
DRM_GEM_SHMEM_DRIVER_OPS(9) | NAME DRM_GEM_SHMEM_DRIVER_OPS - Default shmem GEM operations
SYNOPSIS DRM_GEM_SHMEM_DRIVER_OPS
DESCRIPTION This macro provides a shortcut for setting the shmem GEM operations in the drm_driver structure. Drivers that do not require an s/g table for imported buffers should use this.
SEE ALSO Kernel file ./include... |
DRM_GEM_SIMPLE_DISPLAY_PIPE_SHADOW_PLANE_FUNCS(9) | NAME DRM_GEM_SIMPLE_DISPLAY_PIPE_SHADOW_PLANE_FUNCS - Initializes struct drm_simple_display_pipe_funcs for shadow-buffered planes
SYNOPSIS DRM_GEM_SIMPLE_DISPLAY_PIPE_SHADOW_PLANE_FUNCS
DESCRIPTION Drivers may use GEM BOs as shadow buffers over the framebuffer memory. This macro initializes struct drm_simple_display_... |
DRM_GEM_VRAM_DRIVER(9) | NAME DRM_GEM_VRAM_DRIVER - default callback functions for &struct drm_driver
SYNOPSIS DRM_GEM_VRAM_DRIVER
DESCRIPTION Drivers that use VRAM MM and GEM VRAM can use this macro to initialize struct drm_driver with default functions.
SEE ALSO Kernel file ./include/drm/drm_gem_vram_helper.h struct drm_gem_vram_object(9)... |
DRM_GEM_VRAM_PLANE_HELPER_FUNCS(9) | NAME DRM_GEM_VRAM_PLANE_HELPER_FUNCS - Initializes struct drm_plane_helper_funcs for VRAM handling
SYNOPSIS DRM_GEM_VRAM_PLANE_HELPER_FUNCS
DESCRIPTION Drivers may use GEM BOs as VRAM helpers for the framebuffer memory. This macro initializes struct drm_plane_helper_funcs to use the respective helper functions.
SEE ... |
DRM_IOCTL_ASAHI(9) | NAME DRM_IOCTL_ASAHI - Build an Asahi IOCTL number
SYNOPSIS DRM_IOCTL_ASAHI (__access , __id , __type );
ARGUMENTS __access Access type. Must be R, W or RW.
__id One of the DRM_ASAHI_xxx id.
__type Suffix of the type being passed to the IOCTL.
DESCRIPTION Don't use this macro directly,... |
DRM_IOCTL_DEF_DRV(9) | NAME DRM_IOCTL_DEF_DRV - helper macro to fill out a &struct drm_ioctl_desc
SYNOPSIS DRM_IOCTL_DEF_DRV (ioctl , _func , _flags );
ARGUMENTS ioctl ioctl command suffix
_func handler for the ioctl
_flags a bitmask of enum drm_ioctl_flags
DESCRIPTION Small helper macro to create a struct... |
DRM_IOCTL_ETHOSU(9) | NAME DRM_IOCTL_ETHOSU - Build a ethosu IOCTL number
SYNOPSIS DRM_IOCTL_ETHOSU (__access , __id , __type );
ARGUMENTS __access Access type. Must be R, W or RW.
__id One of the DRM_ETHOSU_xxx id.
__type Suffix of the type being passed to the IOCTL.
DESCRIPTION Don't use this macro direct... |
DRM_IOCTL_GEM_CHANGE_HANDLE(9) | NAME DRM_IOCTL_GEM_CHANGE_HANDLE - Move an object to a different handle
SYNOPSIS DRM_IOCTL_GEM_CHANGE_HANDLE
DESCRIPTION Some applications (notably CRIU) need objects to have specific gem handles. This ioctl changes the object at one gem handle to use a new gem handle.
SEE ALSO Kernel file ./tools/include/uapi/drm... |
DRM_IOCTL_GEM_CLOSE(9) | NAME DRM_IOCTL_GEM_CLOSE - Close a GEM handle.
SYNOPSIS DRM_IOCTL_GEM_CLOSE
DESCRIPTION GEM handles are not reference-counted by the kernel. User-space is responsible for managing their lifetime. For example, if user-space imports the same memory object twice on the same DRM file description, the same GEM handle i... |
DRM_IOCTL_MODE_CLOSEFB(9) | NAME DRM_IOCTL_MODE_CLOSEFB - Close a framebuffer.
SYNOPSIS DRM_IOCTL_MODE_CLOSEFB
DESCRIPTION This closes a framebuffer previously added via ADDFB/ADDFB2. The IOCTL argument is a framebuffer object ID. This IOCTL is similar to DRM_IOCTL_MODE_RMFB, except it doesn't disable planes and CRTCs. As long as the frame‐ b... |
DRM_IOCTL_MODE_CREATE_DUMB(9) | NAME DRM_IOCTL_MODE_CREATE_DUMB - Create a new dumb buffer object.
SYNOPSIS DRM_IOCTL_MODE_CREATE_DUMB
DESCRIPTION KMS dumb buffers provide a very primitive way to allocate a buffer object suitable for scanout and map it for software rendering. KMS dumb buffers are not suitable for hardware-accelerated rendering nor... |
DRM_IOCTL_MODE_GETFB2(9) | NAME DRM_IOCTL_MODE_GETFB2 - Get framebuffer metadata.
SYNOPSIS DRM_IOCTL_MODE_GETFB2
DESCRIPTION This queries metadata about a framebuffer. User-space fills drm_mode_fb_cmd2.fb_id as the input, and the kernels fills the rest of the struct as the output. If the client is DRM master or has CAP_SYS_ADMIN... |
DRM_IOCTL_MODE_RMFB(9) | NAME DRM_IOCTL_MODE_RMFB - Remove a framebuffer.
SYNOPSIS DRM_IOCTL_MODE_RMFB
DESCRIPTION This removes a framebuffer previously added via ADDFB/ADDFB2. The IOCTL argument is a framebuffer object ID. Warning: removing a framebuffer currently in-use on an enabled plane will disable that plane. The CRTC the plane ... |
DRM_IOCTL_PANTHOR(9) | NAME DRM_IOCTL_PANTHOR - Build a Panthor IOCTL number
SYNOPSIS DRM_IOCTL_PANTHOR (__access , __id , __type );
ARGUMENTS __access Access type. Must be R, W or RW.
__id One of the DRM_PANTHOR_xxx id.
__type Suffix of the type being passed to the IOCTL.
DESCRIPTION Don't use this macro di... |
DRM_IOCTL_PRIME_FD_TO_HANDLE(9) | NAME DRM_IOCTL_PRIME_FD_TO_HANDLE - Convert a DMA-BUF FD to a GEM handle.
SYNOPSIS DRM_IOCTL_PRIME_FD_TO_HANDLE
DESCRIPTION User-space sets drm_prime_handle.fd with a DMA-BUF file descriptor to import, and gets back a GEM handle in drm_prime_handle.handle. drm_prime_handle.flags is unused. If an existing GEM hand... |
DRM_IOCTL_PRIME_HANDLE_TO_FD(9) | NAME DRM_IOCTL_PRIME_HANDLE_TO_FD - Convert a GEM handle to a DMA-BUF FD.
SYNOPSIS DRM_IOCTL_PRIME_HANDLE_TO_FD
DESCRIPTION User-space sets drm_prime_handle.handle with the GEM handle to export and drm_prime_handle.flags, and gets back a DMA-BUF file descriptor in drm_prime_handle.fd. The export can fail for any d... |
DRM_IOCTL_SET_CLIENT_NAME(9) | NAME DRM_IOCTL_SET_CLIENT_NAME - Attach a name to a drm_file
SYNOPSIS DRM_IOCTL_SET_CLIENT_NAME
DESCRIPTION Having a name allows for easier tracking and debugging. The length of the name (without null ending char) must be <= DRM_CLIENT_NAME_MAX_LEN. The call will fail if the name contains whitespaces or non-printab... |
DRM_IVPU_CAP_BO_CREATE_FROM_USERPTR(9) | NAME DRM_IVPU_CAP_BO_CREATE_FROM_USERPTR -
SYNOPSIS DRM_IVPU_CAP_BO_CREATE_FROM_USERPTR
DESCRIPTION Driver supports creating buffer objects from user space memory pointers. This allows creating GEM buffers from existing user memory regions.
SEE ALSO Kernel file ./include/uapi/drm/ivpu_accel.h Kernel API(9), DRM... |
DRM_IVPU_CAP_DMA_MEMORY_RANGE(9) | NAME DRM_IVPU_CAP_DMA_MEMORY_RANGE -
SYNOPSIS DRM_IVPU_CAP_DMA_MEMORY_RANGE
DESCRIPTION Driver has capability to allocate separate memory range accessible by hardware DMA.
SEE ALSO Kernel file ./include/uapi/drm/ivpu_accel.h Kernel API(9), DRM_IVPU_CAP_METRIC_STREAMER(9), DRM_IVPU_CAP_MANAGE_CMDQ(9), DRM_IVPU_C... |
DRM_IVPU_CAP_MANAGE_CMDQ(9) | NAME DRM_IVPU_CAP_MANAGE_CMDQ -
SYNOPSIS DRM_IVPU_CAP_MANAGE_CMDQ
DESCRIPTION Driver supports explicit command queue operations like command queue create, command queue destroy and submit job on specific command queue.
SEE ALSO Kernel file ./include/uapi/drm/ivpu_accel.h Kernel API(9), DRM_IVPU_CAP_METRIC_STREAMER(9... |
DRM_IVPU_CAP_METRIC_STREAMER(9) | NAME DRM_IVPU_CAP_METRIC_STREAMER -
SYNOPSIS DRM_IVPU_CAP_METRIC_STREAMER
DESCRIPTION Metric streamer support. Provides sampling of various hardware performance metrics like DMA bandwidth and cache miss/hits. Can be used for profiling.
SEE ALSO Kernel file ./include/uapi/drm/ivpu_accel.h Kernel API(9), DRM_IVPU_... |
DRM_MIPI_DBI_SIMPLE_DISPLAY_PIPE_FUNCS(9) | NAME DRM_MIPI_DBI_SIMPLE_DISPLAY_PIPE_FUNCS - Initializes struct drm_simple_display_pipe_funcs for MIPI-DBI devices
SYNOPSIS DRM_MIPI_DBI_SIMPLE_DISPLAY_PIPE_FUNCS (enable_ );
ARGUMENTS enable_ Enable-callback implementation
DESCRIPTION This macro initializes struct drm_simple_display_pipe_funcs with default va... |
DRM_MODESET_LOCK_ALL_BEGIN(9) | NAME DRM_MODESET_LOCK_ALL_BEGIN - Helper to acquire modeset locks
SYNOPSIS DRM_MODESET_LOCK_ALL_BEGIN (dev , ctx , flags , ret );
ARGUMENTS dev drm device
ctx local modeset acquire context, will be dereferenced
flags DRM_MODESET_ACQUIRE_* flags to pass to drm_modeset_acquire_init... |
DRM_MODESET_LOCK_ALL_END(9) | NAME DRM_MODESET_LOCK_ALL_END - Helper to release and cleanup modeset locks
SYNOPSIS DRM_MODESET_LOCK_ALL_END (dev , ctx , ret );
ARGUMENTS dev drm device
ctx local modeset acquire context, will be dereferenced
ret local ret/err/etc variable to track error status
DESCRIPTION T... |
DRM_MODE_ARG(9) | NAME DRM_MODE_ARG - printf arguments for &struct drm_display_mode
SYNOPSIS DRM_MODE_ARG (m );
ARGUMENTS m display mode
SEE ALSO Kernel file ./include/drm/drm_modes.h enum drm_mode_status(9), DRM_MODE_RES_MM(9), DRM_MODE_INIT(9), DRM_SIMPLE_MODE(9), struct drm_display_mode(9), DRM_MODE_FMT(9), drm_mode_is_s... |
DRM_MODE_ATOMIC_ALLOW_MODESET(9) | NAME DRM_MODE_ATOMIC_ALLOW_MODESET -
SYNOPSIS DRM_MODE_ATOMIC_ALLOW_MODESET
DESCRIPTION Allow the update to result in temporary or transient visible artifacts while the update is being applied. Applying the update may also take significantly more time than a page flip. All visual artifacts will disappear by the time... |
DRM_MODE_ATOMIC_FLAGS(9) | NAME DRM_MODE_ATOMIC_FLAGS -
SYNOPSIS DRM_MODE_ATOMIC_FLAGS
DESCRIPTION Bitfield of flags accepted by the DRM_IOCTL_MODE_ATOMIC IOCTL in drm_mode_atomic.flags.
SEE ALSO Kernel file ./include/uapi/drm/drm_mode.h Kernel API(9), struct drm_mode_modeinfo(9), struct drm_mode_get_plane(9), struct drm_mode_get_connect... |
DRM_MODE_ATOMIC_NONBLOCK(9) | NAME DRM_MODE_ATOMIC_NONBLOCK -
SYNOPSIS DRM_MODE_ATOMIC_NONBLOCK
DESCRIPTION Do not block while applying the atomic commit. The DRM_IOCTL_MODE_ATOMIC IOCTL returns immediately instead of waiting for the changes to be applied in hardware. Note, the driver will still check that the update can be ap‐ plied before retun... |
DRM_MODE_ATOMIC_TEST_ONLY(9) | NAME DRM_MODE_ATOMIC_TEST_ONLY -
SYNOPSIS DRM_MODE_ATOMIC_TEST_ONLY
DESCRIPTION Do not apply the atomic commit, instead check whether the hardware supports this configuration. See drm_mode_config_funcs.atomic_check for more details on test-only commits.
SEE ALSO Kernel file ./include/uapi/drm/drm_mode.h Kernel ... |
DRM_MODE_FMT(9) | NAME DRM_MODE_FMT - printf string for &struct drm_display_mode
SYNOPSIS DRM_MODE_FMT
SEE ALSO Kernel file ./include/drm/drm_modes.h enum drm_mode_status(9), DRM_MODE_RES_MM(9), DRM_MODE_INIT(9), DRM_SIMPLE_MODE(9), struct drm_display_mode(9), DRM_MODE_ARG(9), drm_mode_is_stereo(9)
April 2026 ... |
DRM_MODE_INIT(9) | NAME DRM_MODE_INIT - Initialize display mode
SYNOPSIS DRM_MODE_INIT (hz , hd , vd , hd_mm , vd_mm );
ARGUMENTS hz Vertical refresh rate in Hertz
hd Horizontal resolution, width
vd Vertical resolution, height
hd_mm Display width in millimeters
vd_mm ... |
DRM_MODE_PAGE_FLIP_ASYNC(9) | NAME DRM_MODE_PAGE_FLIP_ASYNC -
SYNOPSIS DRM_MODE_PAGE_FLIP_ASYNC
DESCRIPTION Request that the page-flip is performed as soon as possible, ie. with no delay due to waiting for vblank. This may cause tearing to be visible on the screen. When used with atomic uAPI, the driver will return an error if the hardware does... |
DRM_MODE_PAGE_FLIP_EVENT(9) | NAME DRM_MODE_PAGE_FLIP_EVENT -
SYNOPSIS DRM_MODE_PAGE_FLIP_EVENT
DESCRIPTION Request that the kernel sends back a vblank event (see struct drm_event_vblank) with the DRM_EVENT_FLIP_COMPLETE type when the page-flip is done. When used with atomic uAPI, one event will be delivered per CRTC included in the atomic comm... |
DRM_MODE_PAGE_FLIP_FLAGS(9) | NAME DRM_MODE_PAGE_FLIP_FLAGS -
SYNOPSIS DRM_MODE_PAGE_FLIP_FLAGS
DESCRIPTION Bitmask of flags suitable for drm_mode_crtc_page_flip_target.flags.
SEE ALSO Kernel file ./include/uapi/drm/drm_mode.h Kernel API(9), struct drm_mode_modeinfo(9), struct drm_mode_get_plane(9), struct drm_mode_get_connector(9), struct ... |
DRM_MODE_RES_MM(9) | NAME DRM_MODE_RES_MM - Calculates the display size from resolution and DPI
SYNOPSIS DRM_MODE_RES_MM (res , dpi );
ARGUMENTS res The resolution in pixel
dpi The number of dots per inch
SEE ALSO Kernel file ./include/drm/drm_modes.h enum drm_mode_status(9), DRM_MODE_INIT(9), DRM_SIMPLE_MODE(9),... |
DRM_PANTHOR_OBJ_ARRAY(9) | NAME DRM_PANTHOR_OBJ_ARRAY - Initialize a drm_panthor_obj_array field.
SYNOPSIS DRM_PANTHOR_OBJ_ARRAY (cnt , ptr );
ARGUMENTS cnt Number of elements in the array.
ptr Pointer to the array to pass to the kernel.
DESCRIPTION Macro initializing a drm_panthor_obj_array based on the object size as... |
DRM_PLANE_NON_ATOMIC_FUNCS(9) | NAME DRM_PLANE_NON_ATOMIC_FUNCS - Default plane functions for non-atomic drivers
SYNOPSIS DRM_PLANE_NON_ATOMIC_FUNCS
DESCRIPTION This macro initializes plane functions for non-atomic drivers to default values. Non-atomic interfaces are deprecated and should not be used in new drivers.
SEE ALSO Kernel file ./include/... |
DRM_PRIME_CAP_EXPORT(9) | NAME DRM_PRIME_CAP_EXPORT -
SYNOPSIS DRM_PRIME_CAP_EXPORT
DESCRIPTION If this bit is set in DRM_CAP_PRIME, the driver supports exporting PRIME buffers via the DRM_IOCTL_PRIME_HANDLE_TO_FD ioctl. Starting from kernel version 6.6, this bit is always set in DRM_CAP_PRIME.
SEE ALSO Kernel file ./tools/include/uapi/drm... |
DRM_PRIME_CAP_IMPORT(9) | NAME DRM_PRIME_CAP_IMPORT -
SYNOPSIS DRM_PRIME_CAP_IMPORT
DESCRIPTION If this bit is set in DRM_CAP_PRIME, the driver supports importing PRIME buffers via the DRM_IOCTL_PRIME_FD_TO_HANDLE ioctl. Starting from kernel version 6.6, this bit is always set in DRM_CAP_PRIME.
SEE ALSO Kernel file ./tools/include/uapi/drm... |
DRM_PVR_OBJ_ARRAY(9) | NAME DRM_PVR_OBJ_ARRAY - Helper macro for filling &struct drm_pvr_obj_array.
SYNOPSIS DRM_PVR_OBJ_ARRAY (cnt , ptr );
ARGUMENTS cnt Number of elements pointed to py ptr.
ptr Pointer to start of a C array.
RETURN Literal of type struct drm_pvr_obj_array.
SEE ALSO Kernel file ./include/uapi/... |
DRM_RECT_ARG(9) | NAME DRM_RECT_ARG - printf arguments for &struct drm_rect
SYNOPSIS DRM_RECT_ARG (r );
ARGUMENTS r rectangle struct
SEE ALSO Kernel file ./include/drm/drm_rect.h Kernel API(9), struct drm_rect(9), DRM_RECT_INIT(9), DRM_RECT_FMT(9), DRM_RECT_FP_FMT(9), DRM_RECT_FP_ARG(9), drm_rect_init(9), drm_rect_... |
DRM_RECT_FMT(9) | NAME DRM_RECT_FMT - printf string for &struct drm_rect
SYNOPSIS DRM_RECT_FMT
SEE ALSO Kernel file ./include/drm/drm_rect.h Kernel API(9), struct drm_rect(9), DRM_RECT_INIT(9), DRM_RECT_ARG(9), DRM_RECT_FP_FMT(9), DRM_RECT_FP_ARG(9), drm_rect_init(9), drm_rect_adjust_size(9), drm_rect_translate(9), drm_rect_tr... |
DRM_RECT_FP_ARG(9) | NAME DRM_RECT_FP_ARG - printf arguments for &struct drm_rect in 16.16 fixed point
SYNOPSIS DRM_RECT_FP_ARG (r );
ARGUMENTS r rectangle struct
DESCRIPTION This is useful for e.g. printing plane source rectangles, which are in 16.16 fixed point.
SEE ALSO Kernel file ./include/drm/drm_rect.h Kernel API(9... |
DRM_RECT_FP_FMT(9) | NAME DRM_RECT_FP_FMT - printf string for &struct drm_rect in 16.16 fixed point
SYNOPSIS DRM_RECT_FP_FMT
SEE ALSO Kernel file ./include/drm/drm_rect.h Kernel API(9), struct drm_rect(9), DRM_RECT_INIT(9), DRM_RECT_FMT(9), DRM_RECT_ARG(9), DRM_RECT_FP_ARG(9), drm_rect_init(9), drm_rect_adjust_size(9), drm_re... |
DRM_RECT_INIT(9) | NAME DRM_RECT_INIT - initialize a rectangle from x/y/w/h
SYNOPSIS DRM_RECT_INIT (x , y , w , h );
ARGUMENTS x x coordinate
y y coordinate
w width
h height
RETURN A new rectangle of the specified size.
SEE ALSO Kernel file ./include/drm/drm_rect.h Ke... |
DRM_SCHED_FENCE_DONT_PIPELINE(9) | NAME DRM_SCHED_FENCE_DONT_PIPELINE - Prevent dependency pipelining
SYNOPSIS DRM_SCHED_FENCE_DONT_PIPELINE
DESCRIPTION Setting this flag on a scheduler fence prevents pipelining of jobs depending on this fence. In other words we always insert a full CPU round trip before dependent jobs are pushed to the hw queue.
SEE... |
DRM_SCHED_FENCE_FLAG_HAS_DEADLINE_BIT(9) | NAME DRM_SCHED_FENCE_FLAG_HAS_DEADLINE_BIT - A fence deadline hint has been set
SYNOPSIS DRM_SCHED_FENCE_FLAG_HAS_DEADLINE_BIT
DESCRIPTION Because we could have a deadline hint can be set before the backing hw fence is created, we need to keep track of whether a deadline has already been set.
SEE ALSO Kernel file ... |
DRM_SHADOW_PLANE_MAX_HEIGHT(9) | NAME DRM_SHADOW_PLANE_MAX_HEIGHT - Maximum height of a plane's shadow buffer in scanlines
SYNOPSIS DRM_SHADOW_PLANE_MAX_HEIGHT
DESCRIPTION For drivers with shadow planes, the maximum height of the framebuffer is usually independent from hardware limitations. Drivers can initialize struct drm_mode_config.max_height fr... |
DRM_SHADOW_PLANE_MAX_WIDTH(9) | NAME DRM_SHADOW_PLANE_MAX_WIDTH - Maximum width of a plane's shadow buffer in pixels
SYNOPSIS DRM_SHADOW_PLANE_MAX_WIDTH
DESCRIPTION For drivers with shadow planes, the maximum width of the framebuffer is usually independent from hardware limitations. Drivers can initialize struct drm_mode_config.max_width from DRM_S... |
DRM_SIMPLE_MODE(9) | NAME DRM_SIMPLE_MODE - Simple display mode
SYNOPSIS DRM_SIMPLE_MODE (hd , vd , hd_mm , vd_mm );
ARGUMENTS hd Horizontal resolution, width
vd Vertical resolution, height
hd_mm Display width in millimeters
vd_mm Display height in millimeters
DESCRIPTION This macro ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.