id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
drm_exec_lock_obj(9) | NAME drm_exec_lock_obj - lock a GEM object for use
SYNOPSIS int drm_exec_lock_obj (struct drm_exec *exec , struct drm_gem_object *obj );
ARGUMENTS exec the drm_exec object with the state
obj the GEM object to lock
DESCRIPTION Lock a GEM object for use and grab a reference to it.
RETURN -EDEAD... |
drm_exec_obj(9) | NAME drm_exec_obj - Return the object for a give drm_exec index
SYNOPSIS struct drm_gem_object * drm_exec_obj (struct drm_exec *exec , unsigned long index );
ARGUMENTS exec Pointer to the drm_exec context
index The index.
RETURN Pointer to the locked object corresponding to index if index is wit... |
drm_exec_prepare_array(9) | NAME drm_exec_prepare_array - helper to prepare an array of objects
SYNOPSIS int drm_exec_prepare_array (struct drm_exec *exec , struct drm_gem_object **objects , unsigned int num_objects , unsigned int num_fences );
ARGUMENTS exec the drm_exec object with the state
objects array of GEM object to p... |
drm_exec_prepare_obj(9) | NAME drm_exec_prepare_obj - prepare a GEM object for use
SYNOPSIS int drm_exec_prepare_obj (struct drm_exec *exec , struct drm_gem_object *obj , unsigned int num_fences );
ARGUMENTS exec the drm_exec object with the state
obj the GEM object to prepare
num_fences how many fences to rese... |
drm_exec_retry_on_contention(9) | NAME drm_exec_retry_on_contention - restart the loop to grap all locks
SYNOPSIS drm_exec_retry_on_contention (exec );
ARGUMENTS exec drm_exec object
DESCRIPTION Control flow helper to continue when a contention was detected and we need to clean up and re-start the loop to prepare all GEM objects.
SEE ALSO Ke... |
drm_exec_unlock_obj(9) | NAME drm_exec_unlock_obj - unlock a GEM object in this exec context
SYNOPSIS void drm_exec_unlock_obj (struct drm_exec *exec , struct drm_gem_object *obj );
ARGUMENTS exec the drm_exec object with the state
obj the GEM object to unlock
DESCRIPTION Unlock the GEM object and remove it from the c... |
drm_exec_until_all_locked(9) | NAME drm_exec_until_all_locked - loop until all GEM objects are locked
SYNOPSIS drm_exec_until_all_locked (exec );
ARGUMENTS exec drm_exec object
DESCRIPTION Core functionality of the drm_exec object. Loops until all GEM objects are locked and no more contention exists. At the beginning of the loop it is gu... |
drm_fb_argb8888_to_argb4444(9) | NAME drm_fb_argb8888_to_argb4444 - Convert ARGB8888 to ARGB4444 clip buffer
SYNOPSIS void drm_fb_argb8888_to_argb4444 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENTS... |
drm_fb_clip_offset(9) | NAME drm_fb_clip_offset - Returns the clipping rectangles byte-offset in a framebuffer
SYNOPSIS unsigned int drm_fb_clip_offset (unsigned int pitch , const struct drm_format_info *format , const struct drm_rect *clip );
ARGUMENTS pitch Framebuffer line pitch in byte
format Framebuffer format
... |
drm_fb_dma_get_gem_addr(9) | NAME drm_fb_dma_get_gem_addr - Get DMA (bus) address for framebuffer, for pixel formats where values are grouped in blocks this will get you the beginning of the block
SYNOPSIS dma_addr_t drm_fb_dma_get_gem_addr (struct drm_framebuffer *fb , struct drm_plane_state *state , unsigned int plane );
ARGUMENTS fb ... |
drm_fb_dma_get_gem_obj(9) | NAME drm_fb_dma_get_gem_obj - Get DMA GEM object for framebuffer
SYNOPSIS struct drm_gem_dma_object * drm_fb_dma_get_gem_obj (struct drm_framebuffer *fb , unsigned int plane );
ARGUMENTS fb The framebuffer
plane Which plane
DESCRIPTION Return the DMA GEM object for given framebuffer. This fun... |
drm_fb_dma_get_scanout_buffer(9) | NAME drm_fb_dma_get_scanout_buffer - Provide a scanout buffer in case of panic
SYNOPSIS int drm_fb_dma_get_scanout_buffer (struct drm_plane *plane , struct drm_scanout_buffer *sb );
ARGUMENTS plane DRM primary plane
sb scanout buffer for the panic handler
RETURN 0 or negative error code
DESCR... |
drm_fb_dma_sync_non_coherent(9) | NAME drm_fb_dma_sync_non_coherent - Sync GEM object to non-coherent backing memory
SYNOPSIS void drm_fb_dma_sync_non_coherent (struct drm_device *drm , struct drm_plane_state *old_state , struct drm_plane_state *state );
ARGUMENTS drm DRM device
old_state Old plane state
state New plan... |
drm_fb_helper_blank(9) | NAME drm_fb_helper_blank - implementation for &fb_ops.fb_blank
SYNOPSIS int drm_fb_helper_blank (int blank , struct fb_info *info );
ARGUMENTS blank desired blanking state
info fbdev registered by the helper
SEE ALSO Kernel file ./drivers/gpu/drm/drm_fb_helper.c Kernel API(9), drm_fb_helper_... |
drm_fb_helper_check_var(9) | NAME drm_fb_helper_check_var - implementation for &fb_ops.fb_check_var
SYNOPSIS int drm_fb_helper_check_var (struct fb_var_screeninfo *var , struct fb_info *info );
ARGUMENTS var screeninfo to check
info fbdev registered by the helper
SEE ALSO Kernel file ./drivers/gpu/drm/drm_fb_helper.c ... |
drm_fb_helper_deferred_io(9) | NAME drm_fb_helper_deferred_io - fbdev deferred_io callback function
SYNOPSIS void drm_fb_helper_deferred_io (struct fb_info *info , struct list_head *pagereflist );
ARGUMENTS info fb_info struct pointer
pagereflist list of mmap framebuffer pages that have to be flushed
DESCRIPTION This function is us... |
drm_fb_helper_fill_info(9) | NAME drm_fb_helper_fill_info - initializes fbdev information
SYNOPSIS void drm_fb_helper_fill_info (struct fb_info *info , struct drm_fb_helper *fb_helper , struct drm_fb_helper_surface_size *sizes );
ARGUMENTS info fbdev instance to set up
fb_helper fb helper instance to use as template
size... |
drm_fb_helper_fini(9) | NAME drm_fb_helper_fini - finialize a &struct drm_fb_helper
SYNOPSIS void drm_fb_helper_fini (struct drm_fb_helper *fb_helper );
ARGUMENTS fb_helper driver-allocated fbdev helper, can be NULL
DESCRIPTION This cleans up all remaining resources associated with fb_helper.
SEE ALSO Kernel file ./drivers/gpu/drm/d... |
drm_fb_helper_hotplug_event(9) | NAME drm_fb_helper_hotplug_event - respond to a hotplug notification by probing all the outputs attached to the fb
SYNOPSIS int drm_fb_helper_hotplug_event (struct drm_fb_helper *fb_helper );
ARGUMENTS fb_helper driver-allocated fbdev helper, can be NULL
DESCRIPTION Scan the connectors attached to the fb_helper a... |
drm_fb_helper_init(9) | NAME drm_fb_helper_init - initialize a &struct drm_fb_helper
SYNOPSIS int drm_fb_helper_init (struct drm_device *dev , struct drm_fb_helper *fb_helper );
ARGUMENTS dev drm device
fb_helper driver-allocated fbdev helper structure to initialize
DESCRIPTION This allocates the structures for the ... |
drm_fb_helper_initial_config(9) | NAME drm_fb_helper_initial_config - setup a sane initial connector configuration
SYNOPSIS int drm_fb_helper_initial_config (struct drm_fb_helper *fb_helper );
ARGUMENTS fb_helper fb_helper device struct
DESCRIPTION Scans the CRTCs and connectors and tries to put together an initial setup. At the moment, this is a... |
drm_fb_helper_ioctl(9) | NAME drm_fb_helper_ioctl - legacy ioctl implementation
SYNOPSIS int drm_fb_helper_ioctl (struct fb_info *info , unsigned int cmd , unsigned long arg );
ARGUMENTS info fbdev registered by the helper
cmd ioctl command
arg ioctl argument
DESCRIPTION A helper to implement the stand... |
drm_fb_helper_pan_display(9) | NAME drm_fb_helper_pan_display - implementation for &fb_ops.fb_pan_display
SYNOPSIS int drm_fb_helper_pan_display (struct fb_var_screeninfo *var , struct fb_info *info );
ARGUMENTS var updated screen information
info fbdev registered by the helper
SEE ALSO Kernel file ./drivers/gpu/drm/drm... |
drm_fb_helper_prepare(9) | NAME drm_fb_helper_prepare - setup a drm_fb_helper structure
SYNOPSIS void drm_fb_helper_prepare (struct drm_device *dev , struct drm_fb_helper *helper , unsigned int preferred_bpp , const struct drm_fb_helper_funcs *funcs );
ARGUMENTS dev DRM device
helper driver-allocated fbdev helper structure... |
drm_fb_helper_restore_fbdev_mode_unlocked(9) | NAME drm_fb_helper_restore_fbdev_mode_unlocked - restore fbdev configuration
SYNOPSIS int drm_fb_helper_restore_fbdev_mode_unlocked (struct drm_fb_helper *fb_helper , bool force );
ARGUMENTS fb_helper driver-allocated fbdev helper, can be NULL
force ignore present DRM master
DESCRIPTION This helper s... |
drm_fb_helper_set_par(9) | NAME drm_fb_helper_set_par - implementation for &fb_ops.fb_set_par
SYNOPSIS int drm_fb_helper_set_par (struct fb_info *info );
ARGUMENTS info fbdev registered by the helper
DESCRIPTION This will let fbcon do the mode init and is called at initialization time by the fbdev core when registering the driver, and ... |
drm_fb_helper_set_suspend(9) | NAME drm_fb_helper_set_suspend - wrapper around fb_set_suspend
SYNOPSIS void drm_fb_helper_set_suspend (struct drm_fb_helper *fb_helper , bool suspend );
ARGUMENTS fb_helper driver-allocated fbdev helper, can be NULL
suspend whether to suspend or resume
DESCRIPTION A wrapper around fb_set_suspend imple... |
drm_fb_helper_set_suspend_unlocked(9) | NAME drm_fb_helper_set_suspend_unlocked - wrapper around fb_set_suspend that also takes the console lock
SYNOPSIS void drm_fb_helper_set_suspend_unlocked (struct drm_fb_helper *fb_helper , bool suspend );
ARGUMENTS fb_helper driver-allocated fbdev helper, can be NULL
suspend whether to suspend or resume... |
drm_fb_helper_setcmap(9) | NAME drm_fb_helper_setcmap - implementation for &fb_ops.fb_setcmap
SYNOPSIS int drm_fb_helper_setcmap (struct fb_cmap *cmap , struct fb_info *info );
ARGUMENTS cmap cmap to set
info fbdev registered by the helper
SEE ALSO Kernel file ./drivers/gpu/drm/drm_fb_helper.c Kernel API(9), dr... |
drm_fb_helper_unprepare(9) | NAME drm_fb_helper_unprepare - clean up a drm_fb_helper structure
SYNOPSIS void drm_fb_helper_unprepare (struct drm_fb_helper *fb_helper );
ARGUMENTS fb_helper driver-allocated fbdev helper structure to set up
DESCRIPTION Cleans up the framebuffer helper. Inverse of drm_fb_helper_prepare.
SEE ALSO Kernel file ./d... |
drm_fb_helper_unregister_info(9) | NAME drm_fb_helper_unregister_info - unregister fb_info framebuffer device
SYNOPSIS void drm_fb_helper_unregister_info (struct drm_fb_helper *fb_helper );
ARGUMENTS fb_helper driver-allocated fbdev helper, must not be NULL
DESCRIPTION A wrapper around unregister_framebuffer, to release the fb_info framebuffer devi... |
drm_fb_memcpy(9) | NAME drm_fb_memcpy - Copy clip buffer
SYNOPSIS void drm_fb_memcpy (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip );
ARGUMENTS dst Array of destination buffers
dst_pitch Array of numbers of bytes be... |
drm_fb_release(9) | NAME drm_fb_release - remove and free the FBs on this file
SYNOPSIS void drm_fb_release (struct drm_file *priv );
ARGUMENTS priv drm file for the ioctl
DESCRIPTION Destroy all the FBs associated with filp. Called by the user via ioctl.
RETURN Zero on success, negative errno on failure.
SEE ALSO Kernel fil... |
drm_fb_swab(9) | NAME drm_fb_swab - Swap bytes into clip buffer
SYNOPSIS void drm_fb_swab (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , bool cached , struct drm_format_conv_state *state );
ARGUMENTS dst Array of destinati... |
drm_fb_xrgb8888_to_abgr8888(9) | NAME drm_fb_xrgb8888_to_abgr8888 - Convert XRGB8888 to ABGR8888 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_abgr8888 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENT... |
drm_fb_xrgb8888_to_argb1555(9) | NAME drm_fb_xrgb8888_to_argb1555 - Convert XRGB8888 to ARGB1555 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_argb1555 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENT... |
drm_fb_xrgb8888_to_argb2101010(9) | NAME drm_fb_xrgb8888_to_argb2101010 - Convert XRGB8888 to ARGB2101010 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_argb2101010 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
... |
drm_fb_xrgb8888_to_argb8888(9) | NAME drm_fb_xrgb8888_to_argb8888 - Convert XRGB8888 to ARGB8888 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_argb8888 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENT... |
drm_fb_xrgb8888_to_bgr888(9) | NAME drm_fb_xrgb8888_to_bgr888 - Convert XRGB8888 to BGR888 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_bgr888 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENTS dst ... |
drm_fb_xrgb8888_to_bgrx8888(9) | NAME drm_fb_xrgb8888_to_bgrx8888 - Convert XRGB8888 to BGRX8888 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_bgrx8888 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENT... |
drm_fb_xrgb8888_to_gray2(9) | NAME drm_fb_xrgb8888_to_gray2 - Convert XRGB8888 to gray2
SYNOPSIS void drm_fb_xrgb8888_to_gray2 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENTS dst Array of... |
drm_fb_xrgb8888_to_gray8(9) | NAME drm_fb_xrgb8888_to_gray8 - Convert XRGB8888 to grayscale
SYNOPSIS void drm_fb_xrgb8888_to_gray8 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENTS dst Arra... |
drm_fb_xrgb8888_to_mono(9) | NAME drm_fb_xrgb8888_to_mono - Convert XRGB8888 to monochrome
SYNOPSIS void drm_fb_xrgb8888_to_mono (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENTS dst Array... |
drm_fb_xrgb8888_to_rgb332(9) | NAME drm_fb_xrgb8888_to_rgb332 - Convert XRGB8888 to RGB332 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_rgb332 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENTS dst ... |
drm_fb_xrgb8888_to_rgb565(9) | NAME drm_fb_xrgb8888_to_rgb565 - Convert XRGB8888 to RGB565 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_rgb565 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENTS dst ... |
drm_fb_xrgb8888_to_rgb565be(9) | NAME drm_fb_xrgb8888_to_rgb565be - Convert XRGB8888 to RGB565|DRM_FORMAT_BIG_ENDIAN clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_rgb565be (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state... |
drm_fb_xrgb8888_to_rgb888(9) | NAME drm_fb_xrgb8888_to_rgb888 - Convert XRGB8888 to RGB888 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_rgb888 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENTS dst ... |
drm_fb_xrgb8888_to_rgba5551(9) | NAME drm_fb_xrgb8888_to_rgba5551 - Convert XRGB8888 to RGBA5551 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_rgba5551 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENT... |
drm_fb_xrgb8888_to_xbgr8888(9) | NAME drm_fb_xrgb8888_to_xbgr8888 - Convert XRGB8888 to XBGR8888 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_xbgr8888 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENTS... |
drm_fb_xrgb8888_to_xrgb1555(9) | NAME drm_fb_xrgb8888_to_xrgb1555 - Convert XRGB8888 to XRGB1555 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_xrgb1555 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state );
ARGUMENT... |
drm_fb_xrgb8888_to_xrgb2101010(9) | NAME drm_fb_xrgb8888_to_xrgb2101010 - Convert XRGB8888 to XRGB2101010 clip buffer
SYNOPSIS void drm_fb_xrgb8888_to_xrgb2101010 (struct iosys_map *dst , const unsigned int *dst_pitch , const struct iosys_map *src , const struct drm_framebuffer *fb , const struct drm_rect *clip , struct drm_format_conv_state *state... |
drm_fbdev_client_setup(9) | NAME drm_fbdev_client_setup - Setup fbdev emulation
SYNOPSIS int drm_fbdev_client_setup (struct drm_device *dev , const struct drm_format_info *format );
ARGUMENTS dev DRM device
format Preferred color format for the device. DRM_FORMAT_XRGB8888 is used if this is zero.
DESCRIPTION This function ... |
drm_file_alloc(9) | NAME drm_file_alloc - allocate file context
SYNOPSIS struct drm_file * drm_file_alloc (struct drm_minor *minor );
ARGUMENTS minor minor to allocate on
DESCRIPTION This allocates a new DRM file context. It is not linked into any context and can be used by the caller freely. Note that the context keeps a pointer... |
drm_file_err(9) | NAME drm_file_err - log process name, pid and client_name associated with a drm_file
SYNOPSIS void drm_file_err (struct drm_file *file_priv , const char *fmt , ... );
ARGUMENTS file_priv context of interest for process name and pid
fmt printf like format string
... variable arguments... |
drm_file_free(9) | NAME drm_file_free - free file context
SYNOPSIS void drm_file_free (struct drm_file *file );
ARGUMENTS file context to free, or NULL
DESCRIPTION This destroys and deallocates a DRM file context previously allocated via drm_file_alloc. The caller must make sure to unlink it from any contexts before calling thi... |
drm_file_get_master(9) | NAME drm_file_get_master - reference &drm_file.master of @file_priv
SYNOPSIS struct drm_master * drm_file_get_master (struct drm_file *file_priv );
ARGUMENTS file_priv DRM file private
DESCRIPTION Increments the reference count of file_priv's drm_file.master and returns the drm_file.master. If file_priv has no d... |
drm_flip_work_cleanup(9) | NAME drm_flip_work_cleanup - cleans up flip-work
SYNOPSIS void drm_flip_work_cleanup (struct drm_flip_work *work );
ARGUMENTS work the flip-work to cleanup
DESCRIPTION Destroy resources allocated for the flip-work
SEE ALSO Kernel file ./drivers/gpu/drm/drm_flip_work.c drm_flip_work_queue(9), drm_flip_work_co... |
drm_flip_work_commit(9) | NAME drm_flip_work_commit - commit queued work
SYNOPSIS void drm_flip_work_commit (struct drm_flip_work *work , struct workqueue_struct *wq );
ARGUMENTS work the flip-work
wq the work-queue to run the queued work on
DESCRIPTION Trigger work previously queued by drm_flip_work_queue to run on a... |
drm_flip_work_init(9) | NAME drm_flip_work_init - initialize flip-work
SYNOPSIS void drm_flip_work_init (struct drm_flip_work *work , const char *name , drm_flip_func_t func );
ARGUMENTS work the flip-work to initialize
name debug name
func the callback work function
DESCRIPTION Initializes/allocates re... |
drm_flip_work_queue(9) | NAME drm_flip_work_queue - queue work
SYNOPSIS void drm_flip_work_queue (struct drm_flip_work *work , void *val );
ARGUMENTS work the flip-work
val the value to queue
DESCRIPTION Queues work, that will later be run (passed back to drm_flip_func_t func) on a work queue after drm_flip_work_commi... |
drm_for_each_bridge_in_chain_from(9) | NAME drm_for_each_bridge_in_chain_from - iterate over all bridges starting from the given bridge
SYNOPSIS drm_for_each_bridge_in_chain_from (first_bridge , bridge );
ARGUMENTS first_bridge the bridge to start from
bridge a bridge pointer updated to point to the current bridge at each iteration
DESCRIPTI... |
drm_for_each_bridge_in_chain_scoped(9) | NAME drm_for_each_bridge_in_chain_scoped - iterate over all bridges attached to an encoder
SYNOPSIS drm_for_each_bridge_in_chain_scoped (encoder , bridge );
ARGUMENTS encoder the encoder to iterate bridges on
bridge a bridge pointer updated to point to the current bridge at each iteration
DESCRIPTIO... |
drm_for_each_connector_iter(9) | NAME drm_for_each_connector_iter - connector_list iterator macro
SYNOPSIS drm_for_each_connector_iter (connector , iter );
ARGUMENTS connector struct drm_connector pointer used as cursor
iter struct drm_connector_list_iter
DESCRIPTION Note that connector is only valid within the list body, if you wa... |
drm_for_each_crtc(9) | NAME drm_for_each_crtc - iterate over all CRTCs
SYNOPSIS drm_for_each_crtc (crtc , dev );
ARGUMENTS crtc a struct drm_crtc as the loop cursor
dev the struct drm_device
DESCRIPTION Iterate over all CRTCs of dev.
SEE ALSO Kernel file ./include/drm/drm_crtc.h struct drm_crtc_state(9), struct d... |
drm_for_each_crtc_reverse(9) | NAME drm_for_each_crtc_reverse - iterate over all CRTCs in reverse order
SYNOPSIS drm_for_each_crtc_reverse (crtc , dev );
ARGUMENTS crtc a struct drm_crtc as the loop cursor
dev the struct drm_device
DESCRIPTION Iterate over all CRTCs of dev.
SEE ALSO Kernel file ./include/drm/drm_crtc.h s... |
drm_for_each_encoder(9) | NAME drm_for_each_encoder - iterate over all encoders
SYNOPSIS drm_for_each_encoder (encoder , dev );
ARGUMENTS encoder the loop cursor
dev the DRM device
DESCRIPTION Iterate over all encoders of dev.
SEE ALSO Kernel file ./include/drm/drm_encoder.h struct drm_encoder_funcs(9), struct drm_enc... |
drm_for_each_encoder_mask(9) | NAME drm_for_each_encoder_mask - iterate over encoders specified by bitmask
SYNOPSIS drm_for_each_encoder_mask (encoder , dev , encoder_mask );
ARGUMENTS encoder the loop cursor
dev the DRM device
encoder_mask
bitmask of encoder indices
DESCRIPTION Iterate over all enco... |
drm_for_each_legacy_plane(9) | NAME drm_for_each_legacy_plane - iterate over all planes for legacy userspace
SYNOPSIS drm_for_each_legacy_plane (plane , dev );
ARGUMENTS plane the loop cursor
dev the DRM device
DESCRIPTION Iterate over all legacy planes of dev, excluding primary and cursor planes. This is useful for impleme... |
drm_for_each_plane(9) | NAME drm_for_each_plane - iterate over all planes
SYNOPSIS drm_for_each_plane (plane , dev );
ARGUMENTS plane the loop cursor
dev the DRM device
DESCRIPTION Iterate over all planes of dev, include primary and cursor planes.
SEE ALSO Kernel file ./include/drm/drm_plane.h struct drm_plane_st... |
drm_for_each_plane_mask(9) | NAME drm_for_each_plane_mask - iterate over planes specified by bitmask
SYNOPSIS drm_for_each_plane_mask (plane , dev , plane_mask );
ARGUMENTS plane the loop cursor
dev the DRM device
plane_mask bitmask of plane indices
DESCRIPTION Iterate over all planes specified by bitmask.
SEE AL... |
drm_for_each_privobj(9) | NAME drm_for_each_privobj - private object iterator
SYNOPSIS drm_for_each_privobj (privobj , dev );
ARGUMENTS privobj pointer to the current private object. Updated after each iteration
dev the DRM device we want get private objects from
DESCRIPTION Allows one to iterate over all private objects ... |
drm_format_conv_state_copy(9) | NAME drm_format_conv_state_copy - Copy format-conversion state
SYNOPSIS void drm_format_conv_state_copy (struct drm_format_conv_state *state , const struct drm_format_conv_state *old_state );
ARGUMENTS state Destination state
old_state Source state
DESCRIPTION Copies format-conversion state from old_... |
drm_format_conv_state_init(9) | NAME drm_format_conv_state_init - Initialize format-conversion state
SYNOPSIS void drm_format_conv_state_init (struct drm_format_conv_state *state );
ARGUMENTS state The state to initialize
DESCRIPTION Clears all fields in struct drm_format_conv_state. The state will be empty with no preallocated resources.
S... |
drm_format_conv_state_release(9) | NAME drm_format_conv_state_release - Releases an format-conversion storage
SYNOPSIS void drm_format_conv_state_release (struct drm_format_conv_state *state );
ARGUMENTS state The format-conversion state
DESCRIPTION Releases the memory range references by the format-conversion state. After this call, all point... |
drm_format_conv_state_reserve(9) | NAME drm_format_conv_state_reserve - Allocates storage for format conversion
SYNOPSIS void * drm_format_conv_state_reserve (struct drm_format_conv_state *state , size_t new_size , gfp_t flags );
ARGUMENTS state The format-conversion state
new_size The minimum allocation size
flags Flags... |
drm_format_info(9) | NAME drm_format_info - query information for a given format
SYNOPSIS const struct drm_format_info * drm_format_info (u32 format );
ARGUMENTS format pixel format (DRM_FORMAT_*)
DESCRIPTION The caller should only pass a supported pixel format to this function. Unsupported pixel formats will generate a warning in... |
drm_format_info_block_height(9) | NAME drm_format_info_block_height - height in pixels of a block
SYNOPSIS unsigned int drm_format_info_block_height (const struct drm_format_info *info , int plane );
ARGUMENTS info pixel format info
plane plane index
RETURN The height in pixels of a block, depending on the plane index.
SEE ALSO... |
drm_format_info_block_width(9) | NAME drm_format_info_block_width - width in pixels of block.
SYNOPSIS unsigned int drm_format_info_block_width (const struct drm_format_info *info , int plane );
ARGUMENTS info pixel format info
plane plane index
RETURN The width in pixels of a block, depending on the plane index.
SEE ALSO Kern... |
drm_format_info_bpp(9) | NAME drm_format_info_bpp - number of bits per pixel
SYNOPSIS unsigned int drm_format_info_bpp (const struct drm_format_info *info , int plane );
ARGUMENTS info pixel format info
plane plane index
RETURN The actual number of bits per pixel, depending on the plane index.
SEE ALSO Kernel file ./... |
drm_format_info_is_yuv_packed(9) | NAME drm_format_info_is_yuv_packed - check that the format info matches a YUV format with data laid in a single plane
SYNOPSIS bool drm_format_info_is_yuv_packed (const struct drm_format_info *info );
ARGUMENTS info format info
RETURN A boolean indicating whether the format info matches a packed YUV format.
... |
drm_format_info_is_yuv_planar(9) | NAME drm_format_info_is_yuv_planar - check that the format info matches a YUV format with data laid in three planes (one for each YUV component)
SYNOPSIS bool drm_format_info_is_yuv_planar (const struct drm_format_info *info );
ARGUMENTS info format info
RETURN A boolean indicating whether the format info mat... |
drm_format_info_is_yuv_sampling_410(9) | NAME drm_format_info_is_yuv_sampling_410 - check that the format info matches a YUV format with 4:1:0 sub-sampling
SYNOPSIS bool drm_format_info_is_yuv_sampling_410 (const struct drm_format_info *info );
ARGUMENTS info format info
RETURN A boolean indicating whether the format info matches a YUV format with 4... |
drm_format_info_is_yuv_sampling_411(9) | NAME drm_format_info_is_yuv_sampling_411 - check that the format info matches a YUV format with 4:1:1 sub-sampling
SYNOPSIS bool drm_format_info_is_yuv_sampling_411 (const struct drm_format_info *info );
ARGUMENTS info format info
RETURN A boolean indicating whether the format info matches a YUV format with 4... |
drm_format_info_is_yuv_sampling_420(9) | NAME drm_format_info_is_yuv_sampling_420 - check that the format info matches a YUV format with 4:2:0 sub-sampling
SYNOPSIS bool drm_format_info_is_yuv_sampling_420 (const struct drm_format_info *info );
ARGUMENTS info format info
RETURN A boolean indicating whether the format info matches a YUV format with 4... |
drm_format_info_is_yuv_sampling_422(9) | NAME drm_format_info_is_yuv_sampling_422 - check that the format info matches a YUV format with 4:2:2 sub-sampling
SYNOPSIS bool drm_format_info_is_yuv_sampling_422 (const struct drm_format_info *info );
ARGUMENTS info format info
RETURN A boolean indicating whether the format info matches a YUV format with 4... |
drm_format_info_is_yuv_sampling_444(9) | NAME drm_format_info_is_yuv_sampling_444 - check that the format info matches a YUV format with 4:4:4 sub-sampling
SYNOPSIS bool drm_format_info_is_yuv_sampling_444 (const struct drm_format_info *info );
ARGUMENTS info format info
RETURN A boolean indicating whether the format info matches a YUV format with 4... |
drm_format_info_is_yuv_semiplanar(9) | NAME drm_format_info_is_yuv_semiplanar - check that the format info matches a YUV format with data laid in two planes (luminance and chrominance)
SYNOPSIS bool drm_format_info_is_yuv_semiplanar (const struct drm_format_info *info );
ARGUMENTS info format info
RETURN A boolean indicating whether the format inf... |
drm_format_info_min_pitch(9) | NAME drm_format_info_min_pitch - computes the minimum required pitch in bytes
SYNOPSIS uint64_t drm_format_info_min_pitch (const struct drm_format_info *info , int plane , unsigned int buffer_width );
ARGUMENTS info pixel format info
plane plane index
buffer_width
buffe... |
drm_format_info_plane_height(9) | NAME drm_format_info_plane_height - height of the plane given the first plane
SYNOPSIS int drm_format_info_plane_height (const struct drm_format_info *info , int height , int plane );
ARGUMENTS info pixel format info
height height of the first plane
plane plane index
RETURN The heig... |
drm_format_info_plane_width(9) | NAME drm_format_info_plane_width - width of the plane given the first plane
SYNOPSIS int drm_format_info_plane_width (const struct drm_format_info *info , int width , int plane );
ARGUMENTS info pixel format info
width width of the first plane
plane plane index
RETURN The width of ... |
drm_framebuffer_assign(9) | NAME drm_framebuffer_assign - store a reference to the fb
SYNOPSIS void drm_framebuffer_assign (struct drm_framebuffer **p , struct drm_framebuffer *fb );
ARGUMENTS p location to store framebuffer
fb new framebuffer (maybe NULL)
DESCRIPTION This functions sets the location to store a refer... |
drm_framebuffer_cleanup(9) | NAME drm_framebuffer_cleanup - remove a framebuffer object
SYNOPSIS void drm_framebuffer_cleanup (struct drm_framebuffer *fb );
ARGUMENTS fb framebuffer to remove
DESCRIPTION Cleanup framebuffer. This function is intended to be used from the drivers drm_framebuffer_funcs.destroy callback. It can also be u... |
drm_framebuffer_get(9) | NAME drm_framebuffer_get - acquire a framebuffer reference
SYNOPSIS void drm_framebuffer_get (struct drm_framebuffer *fb );
ARGUMENTS fb DRM framebuffer
DESCRIPTION This function increments the framebuffer's reference count.
SEE ALSO Kernel file ./include/drm/drm_framebuffer.h struct drm_framebuffer_funcs(... |
drm_framebuffer_init(9) | NAME drm_framebuffer_init - initialize a framebuffer
SYNOPSIS int drm_framebuffer_init (struct drm_device *dev , struct drm_framebuffer *fb , const struct drm_framebuffer_funcs *funcs );
ARGUMENTS dev DRM device
fb framebuffer to be initialized
funcs ... with these functions
DE... |
drm_framebuffer_lookup(9) | NAME drm_framebuffer_lookup - look up a drm framebuffer and grab a reference
SYNOPSIS struct drm_framebuffer * drm_framebuffer_lookup (struct drm_device *dev , struct drm_file *file_priv , uint32_t id );
ARGUMENTS dev drm device
file_priv drm file to check for lease against.
id id o... |
drm_framebuffer_put(9) | NAME drm_framebuffer_put - release a framebuffer reference
SYNOPSIS void drm_framebuffer_put (struct drm_framebuffer *fb );
ARGUMENTS fb DRM framebuffer
DESCRIPTION This function decrements the framebuffer's reference count and frees the framebuffer if the reference count drops to zero.
SEE ALSO Kernel fil... |
drm_framebuffer_read_refcount(9) | NAME drm_framebuffer_read_refcount - read the framebuffer reference count.
SYNOPSIS uint32_t drm_framebuffer_read_refcount (const struct drm_framebuffer *fb );
ARGUMENTS fb framebuffer
DESCRIPTION This functions returns the framebuffer's reference count.
SEE ALSO Kernel file ./include/drm/drm_framebuffer.h... |
drm_framebuffer_remove(9) | NAME drm_framebuffer_remove - remove and unreference a framebuffer object
SYNOPSIS void drm_framebuffer_remove (struct drm_framebuffer *fb );
ARGUMENTS fb framebuffer to remove
DESCRIPTION Scans all the CRTCs and planes in dev's mode_config. If they're using fb, removes it, setting it to NULL. Then drops ... |
drm_framebuffer_unregister_private(9) | NAME drm_framebuffer_unregister_private - unregister a private fb from the lookup idr
SYNOPSIS void drm_framebuffer_unregister_private (struct drm_framebuffer *fb );
ARGUMENTS fb fb to unregister
DESCRIPTION Drivers need to call this when cleaning up driver-private framebuffers, e.g. those used for fb... |
drm_gem_begin_shadow_fb_access(9) | NAME drm_gem_begin_shadow_fb_access - prepares shadow framebuffers for CPU access
SYNOPSIS int drm_gem_begin_shadow_fb_access (struct drm_plane *plane , struct drm_plane_state *plane_state );
ARGUMENTS plane the plane
plane_state the plane state of type struct drm_shadow_plane_state
DESCRIPTION This f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.