id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
drm_atomic_set_crtc_for_plane(9) | NAME drm_atomic_set_crtc_for_plane - set CRTC for plane
SYNOPSIS int drm_atomic_set_crtc_for_plane (struct drm_plane_state *plane_state , struct drm_crtc *crtc );
ARGUMENTS plane_state the plane whose incoming state to update
crtc CRTC to use for the plane
DESCRIPTION Changing the assigned CRTC for a ... |
drm_atomic_set_fb_for_plane(9) | NAME drm_atomic_set_fb_for_plane - set framebuffer for plane
SYNOPSIS void drm_atomic_set_fb_for_plane (struct drm_plane_state *plane_state , struct drm_framebuffer *fb );
ARGUMENTS plane_state atomic state object for the plane
fb fb to use for the plane
DESCRIPTION Changing the assigned framebuffer... |
drm_atomic_set_mode_for_crtc(9) | NAME drm_atomic_set_mode_for_crtc - set mode for CRTC
SYNOPSIS int drm_atomic_set_mode_for_crtc (struct drm_crtc_state *state , const struct drm_display_mode *mode );
ARGUMENTS state the CRTC whose incoming state to update
mode kernel-internal mode to use for the CRTC, or NULL to disable
DESCRIP... |
drm_atomic_set_mode_prop_for_crtc(9) | NAME drm_atomic_set_mode_prop_for_crtc - set mode for CRTC
SYNOPSIS int drm_atomic_set_mode_prop_for_crtc (struct drm_crtc_state *state , struct drm_property_blob *blob );
ARGUMENTS state the CRTC whose incoming state to update
blob pointer to blob property to use for mode
DESCRIPTION Set a mod... |
drm_atomic_state_alloc(9) | NAME drm_atomic_state_alloc - allocate atomic state
SYNOPSIS struct drm_atomic_state * drm_atomic_state_alloc (struct drm_device *dev );
ARGUMENTS dev DRM device
DESCRIPTION This allocates an empty atomic state to track updates.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_atomic.c drm_crtc_commit_wait(9), d... |
drm_atomic_state_clear(9) | NAME drm_atomic_state_clear - clear state object
SYNOPSIS void drm_atomic_state_clear (struct drm_atomic_state *state );
ARGUMENTS state atomic state
DESCRIPTION When the w/w mutex algorithm detects a deadlock we need to back off and drop all locks. So someone else could sneak in and change the current modese... |
drm_atomic_state_default_clear(9) | NAME drm_atomic_state_default_clear - clear base atomic state
SYNOPSIS void drm_atomic_state_default_clear (struct drm_atomic_state *state );
ARGUMENTS state atomic state
DESCRIPTION Default implementation for clearing atomic state. This should only be used by drivers which are still subclassing drm_atomic_st... |
drm_atomic_state_default_release(9) | NAME drm_atomic_state_default_release - release memory initialized by drm_atomic_state_init
SYNOPSIS void drm_atomic_state_default_release (struct drm_atomic_state *state );
ARGUMENTS state atomic state
DESCRIPTION Free all the memory allocated by drm_atomic_state_init. This should only be used by drivers whi... |
drm_atomic_state_get(9) | NAME drm_atomic_state_get - acquire a reference to the atomic state
SYNOPSIS struct drm_atomic_state * drm_atomic_state_get (struct drm_atomic_state *state );
ARGUMENTS state The atomic state
DESCRIPTION Returns a new reference to the state
SEE ALSO Kernel file ./include/drm/drm_atomic.h struct drm_crtc_c... |
drm_atomic_state_init(9) | NAME drm_atomic_state_init - init new atomic state
SYNOPSIS int drm_atomic_state_init (struct drm_device *dev , struct drm_atomic_state *state );
ARGUMENTS dev DRM device
state atomic state
DESCRIPTION Default implementation for filling in a new atomic state. This should only be used by driver... |
drm_atomic_state_put(9) | NAME drm_atomic_state_put - release a reference to the atomic state
SYNOPSIS void drm_atomic_state_put (struct drm_atomic_state *state );
ARGUMENTS state The atomic state
DESCRIPTION This releases a reference to state which is freed after removing the final reference. No locking required and callable from any ... |
drm_aux_bridge_register(9) | NAME drm_aux_bridge_register - Create a simple bridge device to link the chain
SYNOPSIS int drm_aux_bridge_register (struct device *parent );
ARGUMENTS parent device instance providing this bridge
DESCRIPTION Creates a simple DRM bridge that doesn't implement any drm_bridge operations. Such bridges merely fill ... |
drm_aux_hpd_bridge_notify(9) | NAME drm_aux_hpd_bridge_notify - notify hot plug detection events
SYNOPSIS void drm_aux_hpd_bridge_notify (struct device *dev , enum drm_connector_status status );
ARGUMENTS dev device created for the HPD bridge
status output connection status
DESCRIPTION A wrapper around drm_bridge_hpd_notify t... |
drm_av_sync_delay(9) | NAME drm_av_sync_delay - compute the HDMI/DP sink audio-video sync delay
SYNOPSIS int drm_av_sync_delay (struct drm_connector *connector , const struct drm_display_mode *mode );
ARGUMENTS connector connector associated with the HDMI/DP sink
mode the display mode
RETURN The HDMI/DP sink's audio-video... |
drm_bridge_add(9) | NAME drm_bridge_add - register a bridge
SYNOPSIS void drm_bridge_add (struct drm_bridge *bridge );
ARGUMENTS bridge bridge control structure
DESCRIPTION Add the given bridge to the global list of bridges, where they can be found by users via of_drm_find_and_get_bridge. The bridge to be added must have been all... |
drm_bridge_attach(9) | NAME drm_bridge_attach - attach the bridge to an encoder's chain
SYNOPSIS int drm_bridge_attach (struct drm_encoder *encoder , struct drm_bridge *bridge , struct drm_bridge *previous , enum drm_bridge_attach_flags flags );
ARGUMENTS encoder DRM encoder
bridge bridge to attach
previous prev... |
drm_bridge_chain_get_first_bridge(9) | NAME drm_bridge_chain_get_first_bridge - Get the first bridge in the chain
SYNOPSIS struct drm_bridge * drm_bridge_chain_get_first_bridge (struct drm_encoder *encoder );
ARGUMENTS encoder encoder object
DESCRIPTION The refcount of the returned bridge is incremented. Use drm_bridge_put when done with it.
RETURN ... |
drm_bridge_chain_get_last_bridge(9) | NAME drm_bridge_chain_get_last_bridge - Get the last bridge in the chain
SYNOPSIS struct drm_bridge * drm_bridge_chain_get_last_bridge (struct drm_encoder *encoder );
ARGUMENTS encoder encoder object
DESCRIPTION The refcount of the returned bridge is incremented. Use drm_bridge_put when done with it.
RETURN the... |
drm_bridge_chain_mode_set(9) | NAME drm_bridge_chain_mode_set - set proposed mode for all bridges in the encoder chain
SYNOPSIS void drm_bridge_chain_mode_set (struct drm_bridge *bridge , const struct drm_display_mode *mode , const struct drm_display_mode *adjusted_mode );
ARGUMENTS bridge bridge control structure
mode desired ... |
drm_bridge_chain_mode_valid(9) | NAME drm_bridge_chain_mode_valid - validate the mode against all bridges in the encoder chain.
SYNOPSIS enum drm_mode_status drm_bridge_chain_mode_valid (struct drm_bridge *bridge , const struct drm_display_info *info , const struct drm_display_mode *mode );
ARGUMENTS bridge bridge control structure
info... |
drm_bridge_connector_init(9) | NAME drm_bridge_connector_init - Initialise a connector for a chain of bridges
SYNOPSIS struct drm_connector * drm_bridge_connector_init (struct drm_device *drm , struct drm_encoder *encoder );
ARGUMENTS drm the DRM device
encoder the encoder where the bridge chain starts
DESCRIPTION Allocate, i... |
drm_bridge_detect(9) | NAME drm_bridge_detect - check if anything is attached to the bridge output
SYNOPSIS enum drm_connector_status drm_bridge_detect (struct drm_bridge *bridge , struct drm_connector *connector );
ARGUMENTS bridge bridge control structure
connector attached connector
DESCRIPTION If the bridge supports out... |
drm_bridge_edid_read(9) | NAME drm_bridge_edid_read - read the EDID data of the connected display
SYNOPSIS const struct drm_edid * drm_bridge_edid_read (struct drm_bridge *bridge , struct drm_connector *connector );
ARGUMENTS bridge bridge control structure
connector the connector to read EDID for
DESCRIPTION If the bridge sup... |
drm_bridge_enter(9) | NAME drm_bridge_enter - Enter DRM bridge critical section
SYNOPSIS bool drm_bridge_enter (struct drm_bridge *bridge , int *idx );
ARGUMENTS bridge DRM bridge
idx Pointer to index that will be passed to the matching drm_bridge_exit
DESCRIPTION This function marks and protects the beginning of a s... |
drm_bridge_exit(9) | NAME drm_bridge_exit - Exit DRM bridge critical section
SYNOPSIS void drm_bridge_exit (int idx );
ARGUMENTS idx index returned by drm_bridge_enter
DESCRIPTION This function marks the end of a section that should not be entered after the bridge has been unplugged.
SEE ALSO Kernel file ./drivers/gpu/drm/drm... |
drm_bridge_get(9) | NAME drm_bridge_get - Acquire a bridge reference
SYNOPSIS struct drm_bridge * drm_bridge_get (struct drm_bridge *bridge );
ARGUMENTS bridge DRM bridge
DESCRIPTION This function increments the bridge's refcount.
RETURN Pointer to bridge.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_bridge.c Kernel API(9), K... |
drm_bridge_get_current_state(9) | NAME drm_bridge_get_current_state - Get the current bridge state
SYNOPSIS struct drm_bridge_state * drm_bridge_get_current_state (struct drm_bridge *bridge );
ARGUMENTS bridge bridge object
DESCRIPTION This function must be called with the modeset lock held. The current bridge state, or NULL if there is none.
... |
drm_bridge_get_modes(9) | NAME drm_bridge_get_modes - fill all modes currently valid for the sink into the @connector
SYNOPSIS int drm_bridge_get_modes (struct drm_bridge *bridge , struct drm_connector *connector );
ARGUMENTS bridge bridge control structure
connector the connector to fill with modes
DESCRIPTION If the bridge ... |
drm_bridge_get_next_bridge(9) | NAME drm_bridge_get_next_bridge - Get the next bridge in the chain
SYNOPSIS struct drm_bridge * drm_bridge_get_next_bridge (struct drm_bridge *bridge );
ARGUMENTS bridge bridge object
DESCRIPTION The caller is responsible of having a reference to bridge via drm_bridge_get or equivalent. This function leaves t... |
drm_bridge_get_next_bridge_and_put(9) | NAME drm_bridge_get_next_bridge_and_put - Get the next bridge in the chain and put the previous
SYNOPSIS struct drm_bridge * drm_bridge_get_next_bridge_and_put (struct drm_bridge *bridge );
ARGUMENTS bridge bridge object
DESCRIPTION Same as drm_bridge_get_next_bridge but additionally puts the bridge.
RETURN th... |
drm_bridge_get_prev_bridge(9) | NAME drm_bridge_get_prev_bridge - Get the previous bridge in the chain
SYNOPSIS struct drm_bridge * drm_bridge_get_prev_bridge (struct drm_bridge *bridge );
ARGUMENTS bridge bridge object
DESCRIPTION The caller is responsible of having a reference to bridge via drm_bridge_get or equivalent. This function leav... |
drm_bridge_helper_reset_crtc(9) | NAME drm_bridge_helper_reset_crtc - Reset the pipeline feeding a bridge
SYNOPSIS int drm_bridge_helper_reset_crtc (struct drm_bridge *bridge , struct drm_modeset_acquire_ctx *ctx );
ARGUMENTS bridge DRM bridge to reset
ctx lock acquisition context
DESCRIPTION Reset a bridge pipeline. It will po... |
drm_bridge_hpd_disable(9) | NAME drm_bridge_hpd_disable - disable hot plug detection for the bridge
SYNOPSIS void drm_bridge_hpd_disable (struct drm_bridge *bridge );
ARGUMENTS bridge bridge control structure
DESCRIPTION Call drm_bridge_funcs.hpd_disable if implemented and unregister the hot plug detection callback previously registered... |
drm_bridge_hpd_enable(9) | NAME drm_bridge_hpd_enable - enable hot plug detection for the bridge
SYNOPSIS void drm_bridge_hpd_enable (struct drm_bridge *bridge , void (*cb)(void *data, enum drm_connector_status status) , void *data );
ARGUMENTS bridge bridge control structure
cb hot-plug detection callback
data ... |
drm_bridge_hpd_notify(9) | NAME drm_bridge_hpd_notify - notify hot plug detection events
SYNOPSIS void drm_bridge_hpd_notify (struct drm_bridge *bridge , enum drm_connector_status status );
ARGUMENTS bridge bridge control structure
status output connection status
DESCRIPTION Bridge drivers shall call this function to report ... |
drm_bridge_is_panel(9) | NAME drm_bridge_is_panel - Checks if a drm_bridge is a panel_bridge.
SYNOPSIS bool drm_bridge_is_panel (const struct drm_bridge *bridge );
ARGUMENTS bridge The drm_bridge to be checked.
DESCRIPTION Returns true if the bridge is a panel bridge, or false otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/... |
drm_bridge_put(9) | NAME drm_bridge_put - Release a bridge reference
SYNOPSIS void drm_bridge_put (struct drm_bridge *bridge );
ARGUMENTS bridge DRM bridge
DESCRIPTION This function decrements the bridge's reference count and frees the object if the reference count drops to zero.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_bridg... |
drm_bridge_put_void(9) | NAME drm_bridge_put_void - wrapper to drm_bridge_put() taking a void pointer
SYNOPSIS void drm_bridge_put_void (void *data );
ARGUMENTS data pointer to struct drm_bridge, cast to a void pointer
DESCRIPTION Wrapper of drm_bridge_put to be used when a function taking a void pointer is needed, for example as a d... |
drm_bridge_remove(9) | NAME drm_bridge_remove - unregister a bridge
SYNOPSIS void drm_bridge_remove (struct drm_bridge *bridge );
ARGUMENTS bridge bridge control structure
DESCRIPTION Remove the given bridge from the global list of registered bridges, so it won't be found by users via of_drm_find_and_get_bridge, and add it to the li... |
drm_bridge_unplug(9) | NAME drm_bridge_unplug - declare a DRM bridge was unplugged and remove it
SYNOPSIS void drm_bridge_unplug (struct drm_bridge *bridge );
ARGUMENTS bridge DRM bridge
DESCRIPTION This tells the bridge has been physically unplugged and no operations on device resources must be done anymore. Entry-points can use dr... |
drm_buddy_alloc_blocks(9) | NAME drm_buddy_alloc_blocks - allocate power-of-two blocks
SYNOPSIS int drm_buddy_alloc_blocks (struct drm_buddy *mm , u64 start , u64 end , u64 size , u64 min_block_size , struct list_head *blocks , unsigned long flags );
ARGUMENTS mm DRM buddy manager to allocate from
start start of the allow... |
drm_buddy_block_print(9) | NAME drm_buddy_block_print - print block information
SYNOPSIS void drm_buddy_block_print (struct drm_buddy *mm , struct drm_buddy_block *block , struct drm_printer *p );
ARGUMENTS mm DRM buddy manager
block DRM buddy block
p DRM printer to use
SEE ALSO Kernel file ./drivers... |
drm_buddy_block_trim(9) | NAME drm_buddy_block_trim - free unused pages
SYNOPSIS int drm_buddy_block_trim (struct drm_buddy *mm , u64 *start , u64 new_size , struct list_head *blocks );
ARGUMENTS mm DRM buddy manager
start start address to begin the trimming.
new_size original size requested
blocks ... |
drm_buddy_fini(9) | NAME drm_buddy_fini - tear down the memory manager
SYNOPSIS void drm_buddy_fini (struct drm_buddy *mm );
ARGUMENTS mm DRM buddy manager to free
DESCRIPTION Cleanup memory manager resources and the freetree
SEE ALSO Kernel file ./drivers/gpu/drm/drm_buddy.c drm_buddy_init(9), drm_get_buddy(9), drm... |
drm_buddy_free_block(9) | NAME drm_buddy_free_block - free a block
SYNOPSIS void drm_buddy_free_block (struct drm_buddy *mm , struct drm_buddy_block *block );
ARGUMENTS mm DRM buddy manager
block block to be freed
SEE ALSO Kernel file ./drivers/gpu/drm/drm_buddy.c drm_buddy_init(9), drm_buddy_fini(9), drm... |
drm_buddy_free_list(9) | NAME drm_buddy_free_list - free blocks
SYNOPSIS void drm_buddy_free_list (struct drm_buddy *mm , struct list_head *objects , unsigned int flags );
ARGUMENTS mm DRM buddy manager
objects input list head to free blocks
flags optional flags like DRM_BUDDY_CLEARED
SEE ALSO Kernel fi... |
drm_buddy_init(9) | NAME drm_buddy_init - init memory manager
SYNOPSIS int drm_buddy_init (struct drm_buddy *mm , u64 size , u64 chunk_size );
ARGUMENTS mm DRM buddy manager to initialize
size size in bytes to manage
chunk_size minimum page size in bytes for our allocations
DESCRIPTION Initializes the m... |
drm_buddy_print(9) | NAME drm_buddy_print - print allocator state
SYNOPSIS void drm_buddy_print (struct drm_buddy *mm , struct drm_printer *p );
ARGUMENTS mm DRM buddy manager
p DRM printer to use
SEE ALSO Kernel file ./drivers/gpu/drm/drm_buddy.c drm_buddy_init(9), drm_buddy_fini(9), drm_get_buddy(9), d... |
drm_buddy_reset_clear(9) | NAME drm_buddy_reset_clear - reset blocks clear state
SYNOPSIS void drm_buddy_reset_clear (struct drm_buddy *mm , bool is_clear );
ARGUMENTS mm DRM buddy manager
is_clear blocks clear state
DESCRIPTION Reset the clear state based on is_clear value for each block in the freetree.
SEE ALSO Kernel ... |
drm_bus_flags_from_videomode(9) | NAME drm_bus_flags_from_videomode - extract information about pixelclk and DE polarity from videomode and store it in a separate variable
SYNOPSIS void drm_bus_flags_from_videomode (const struct videomode *vm , u32 *bus_flags );
ARGUMENTS vm videomode structure to use
bus_flags information about pi... |
drm_calc_timestamping_constants(9) | NAME drm_calc_timestamping_constants - calculate vblank timestamp constants
SYNOPSIS void drm_calc_timestamping_constants (struct drm_crtc *crtc , const struct drm_display_mode *mode );
ARGUMENTS crtc drm_crtc whose timestamp constants should be updated.
mode display mode containing the scanout ... |
drm_can_sleep(9) | NAME drm_can_sleep - returns true if currently okay to sleep
SYNOPSIS bool drm_can_sleep (void );
ARGUMENTS void no arguments
DESCRIPTION This function shall not be used in new code. The check for running in atomic context may not work - see linux/preempt.h. FIXME: All users of drm_can_sleep should be remov... |
drm_class_device_register(9) | NAME drm_class_device_register - register new device with the DRM sysfs class
SYNOPSIS int drm_class_device_register (struct device *dev );
ARGUMENTS dev device to register
DESCRIPTION Registers a new struct device within the DRM sysfs class. Essentially only used by ttm to have a place for its global settin... |
drm_class_device_unregister(9) | NAME drm_class_device_unregister - unregister device with the DRM sysfs class
SYNOPSIS void drm_class_device_unregister (struct device *dev );
ARGUMENTS dev device to unregister
DESCRIPTION Unregisters a struct device from the DRM sysfs class. Essentially only used by ttm to have a place for its global setti... |
drm_clflush_pages(9) | NAME drm_clflush_pages - Flush dcache lines of a set of pages.
SYNOPSIS void drm_clflush_pages (struct page *pages[] , unsigned long num_pages );
ARGUMENTS pages List of pages to be flushed.
num_pages Number of pages in the array.
DESCRIPTION Flush every data cache line entry that points to an addres... |
drm_clflush_sg(9) | NAME drm_clflush_sg - Flush dcache lines pointing to a scather-gather.
SYNOPSIS void drm_clflush_sg (struct sg_table *st );
ARGUMENTS st struct sg_table.
DESCRIPTION Flush every data cache line entry that points to an address in the sg.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_cache.c drm_clflush_pages(9... |
drm_clflush_virt_range(9) | NAME drm_clflush_virt_range - Flush dcache lines of a region
SYNOPSIS void drm_clflush_virt_range (void *addr , unsigned long length );
ARGUMENTS addr Initial kernel memory address.
length Region size.
DESCRIPTION Flush every data cache line entry that points to an address in the region requested... |
drm_client_buffer_create_dumb(9) | NAME drm_client_buffer_create_dumb - Create a client buffer backed by a dumb buffer
SYNOPSIS struct drm_client_buffer * drm_client_buffer_create_dumb (struct drm_client_dev *client , u32 width , u32 height , u32 format );
ARGUMENTS client DRM client
width Framebuffer width
height Frame... |
drm_client_buffer_delete(9) | NAME drm_client_buffer_delete - Delete a client buffer
SYNOPSIS void drm_client_buffer_delete (struct drm_client_buffer *buffer );
ARGUMENTS buffer DRM client buffer
SEE ALSO Kernel file ./drivers/gpu/drm/drm_client.c Kernel API(9), drm_client_init(9), drm_client_register(9), drm_client_release(9), drm_client... |
drm_client_buffer_flush(9) | NAME drm_client_buffer_flush - Manually flush client buffer
SYNOPSIS int drm_client_buffer_flush (struct drm_client_buffer *buffer , struct drm_rect *rect );
ARGUMENTS buffer DRM client buffer
rect Damage rectangle (if NULL flushes all)
DESCRIPTION This calls drm_framebuffer_funcs->dirty (if pres... |
drm_client_buffer_vmap(9) | NAME drm_client_buffer_vmap - Map DRM client buffer into address space
SYNOPSIS int drm_client_buffer_vmap (struct drm_client_buffer *buffer , struct iosys_map *map_copy );
ARGUMENTS buffer DRM client buffer
map_copy Returns the mapped memory's address
DESCRIPTION This function maps a client buffe... |
drm_client_buffer_vmap_local(9) | NAME drm_client_buffer_vmap_local - Map DRM client buffer into address space
SYNOPSIS int drm_client_buffer_vmap_local (struct drm_client_buffer *buffer , struct iosys_map *map_copy );
ARGUMENTS buffer DRM client buffer
map_copy Returns the mapped memory's address
DESCRIPTION This function maps a c... |
drm_client_buffer_vunmap(9) | NAME drm_client_buffer_vunmap - Unmap DRM client buffer
SYNOPSIS void drm_client_buffer_vunmap (struct drm_client_buffer *buffer );
ARGUMENTS buffer DRM client buffer
DESCRIPTION This function removes a client buffer's memory mapping. Calling this function is only required by clients that manage their buffer ma... |
drm_client_buffer_vunmap_local(9) | NAME drm_client_buffer_vunmap_local - Unmap DRM client buffer
SYNOPSIS void drm_client_buffer_vunmap_local (struct drm_client_buffer *buffer );
ARGUMENTS buffer DRM client buffer
DESCRIPTION This function removes a client buffer's memory mapping established with drm_client_buffer_vunmap_local. Calling this func... |
drm_client_dev_hotplug(9) | NAME drm_client_dev_hotplug - Send hotplug event to clients
SYNOPSIS void drm_client_dev_hotplug (struct drm_device *dev );
ARGUMENTS dev DRM device
DESCRIPTION This function calls the drm_client_funcs.hotplug callback on the attached clients. drm_kms_helper_hotplug_event calls this function, so drivers tha... |
drm_client_dev_unregister(9) | NAME drm_client_dev_unregister - Unregister clients
SYNOPSIS void drm_client_dev_unregister (struct drm_device *dev );
ARGUMENTS dev DRM device
DESCRIPTION This function releases all clients by calling each client's drm_client_funcs.unregister callback. The callback function is responsibe for releaseing a... |
drm_client_for_each_connector_iter(9) | NAME drm_client_for_each_connector_iter - connector_list iterator macro
SYNOPSIS drm_client_for_each_connector_iter (connector , iter );
ARGUMENTS connector struct drm_connector pointer used as cursor
iter struct drm_connector_list_iter
DESCRIPTION This iterates the connectors that are useable for i... |
drm_client_for_each_modeset(9) | NAME drm_client_for_each_modeset - Iterate over client modesets
SYNOPSIS drm_client_for_each_modeset (modeset , client );
ARGUMENTS modeset drm_mode_set loop cursor
client DRM client
SEE ALSO Kernel file ./include/drm/drm_client.h struct drm_client_funcs(9), struct drm_client_dev(9), struct drm_clie... |
drm_client_init(9) | NAME drm_client_init - Initialise a DRM client
SYNOPSIS int drm_client_init (struct drm_device *dev , struct drm_client_dev *client , const char *name , const struct drm_client_funcs *funcs );
ARGUMENTS dev DRM device
client DRM client
name Client name
funcs DRM clien... |
drm_client_modeset_check(9) | NAME drm_client_modeset_check - Check modeset configuration
SYNOPSIS int drm_client_modeset_check (struct drm_client_dev *client );
ARGUMENTS client DRM client
DESCRIPTION Check modeset configuration.
RETURN Zero on success or negative error code on failure.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_client... |
drm_client_modeset_commit(9) | NAME drm_client_modeset_commit - Commit CRTC configuration
SYNOPSIS int drm_client_modeset_commit (struct drm_client_dev *client );
ARGUMENTS client DRM client
DESCRIPTION Commit modeset configuration to crtcs.
RETURN Zero on success or negative error code on failure.
SEE ALSO Kernel file ./drivers/gpu/drm/... |
drm_client_modeset_commit_locked(9) | NAME drm_client_modeset_commit_locked - Force commit CRTC configuration
SYNOPSIS int drm_client_modeset_commit_locked (struct drm_client_dev *client );
ARGUMENTS client DRM client
DESCRIPTION Commit modeset configuration to crtcs without checking if there is a DRM master. The assumption is that the caller alrea... |
drm_client_modeset_dpms(9) | NAME drm_client_modeset_dpms - Set DPMS mode
SYNOPSIS int drm_client_modeset_dpms (struct drm_client_dev *client , int mode );
ARGUMENTS client DRM client
mode DPMS mode
NOTE For atomic drivers mode is reduced to on/off.
RETURN Zero on success or negative error code on failure.
SEE ALSO Kernel ... |
drm_client_modeset_probe(9) | NAME drm_client_modeset_probe - Probe for displays
SYNOPSIS int drm_client_modeset_probe (struct drm_client_dev *client , unsigned int width , unsigned int height );
ARGUMENTS client DRM client
width Maximum display mode width (optional)
height Maximum display mode height (optional)
D... |
drm_client_modeset_wait_for_vblank(9) | NAME drm_client_modeset_wait_for_vblank - Wait for the next VBLANK to occur
SYNOPSIS int drm_client_modeset_wait_for_vblank (struct drm_client_dev *client , unsigned int crtc_index );
ARGUMENTS client DRM client
crtc_index The ndex of the CRTC to wait on
DESCRIPTION Block the caller until the given CRT... |
drm_client_register(9) | NAME drm_client_register - Register client
SYNOPSIS void drm_client_register (struct drm_client_dev *client );
ARGUMENTS client DRM client
DESCRIPTION Add the client to the drm_device client list to activate its callbacks. client must be initialized by a call to drm_client_init. After drm_client_register it ... |
drm_client_release(9) | NAME drm_client_release - Release DRM client resources
SYNOPSIS void drm_client_release (struct drm_client_dev *client );
ARGUMENTS client DRM client
DESCRIPTION Releases resources by closing the drm_file that was opened by drm_client_init. It is called automatically if the drm_client_funcs.unregister callback... |
drm_client_rotation(9) | NAME drm_client_rotation - Check the initial rotation value
SYNOPSIS bool drm_client_rotation (struct drm_mode_set *modeset , unsigned int *rotation );
ARGUMENTS modeset DRM modeset
rotation Returned rotation value
DESCRIPTION This function checks if the primary plane in modeset can hw rotate to match... |
drm_client_setup(9) | NAME drm_client_setup - Setup in-kernel DRM clients
SYNOPSIS void drm_client_setup (struct drm_device *dev , const struct drm_format_info *format );
ARGUMENTS dev DRM device
format Preferred pixel format for the device. Use NULL, unless there is clearly a driver-preferred format.
DESCRIPTION Thi... |
drm_client_setup_with_color_mode(9) | NAME drm_client_setup_with_color_mode - Setup in-kernel DRM clients for color mode
SYNOPSIS void drm_client_setup_with_color_mode (struct drm_device *dev , unsigned int color_mode );
ARGUMENTS dev DRM device
color_mode Preferred color mode for the device
DESCRIPTION This function sets up the in-kern... |
drm_client_setup_with_fourcc(9) | NAME drm_client_setup_with_fourcc - Setup in-kernel DRM clients for color mode
SYNOPSIS void drm_client_setup_with_fourcc (struct drm_device *dev , u32 fourcc );
ARGUMENTS dev DRM device
fourcc Preferred pixel format as 4CC code for the device
DESCRIPTION This function sets up the in-kernel DRM ... |
drm_color_ctm_s31_32_to_qm_n(9) | NAME drm_color_ctm_s31_32_to_qm_n -
SYNOPSIS u64 drm_color_ctm_s31_32_to_qm_n (u64 user_input , u32 m , u32 n );
ARGUMENTS user_input input value
m number of integer bits, only support m <= 32, include the sign-bit
n number of fractional bits, only support n <= 32
DESCRIPTION Con... |
drm_color_lut32_check(9) | NAME drm_color_lut32_check - check validity of extended lookup table
SYNOPSIS int drm_color_lut32_check (const struct drm_property_blob *lut , u32 tests );
ARGUMENTS lut property blob containing extended LUT to check
tests bitmask of tests to run
DESCRIPTION Helper to check whether a userspace-... |
drm_color_lut32_extract(9) | NAME drm_color_lut32_extract - clamp and round LUT entries
SYNOPSIS u32 drm_color_lut32_extract (u32 user_input , int bit_precision );
ARGUMENTS user_input input value
bit_precision
number of bits the hw LUT supports
DESCRIPTION Extract U0.bit_precision from a U0.32 LUT value.
SEE ALSO K... |
drm_color_lut32_size(9) | NAME drm_color_lut32_size - calculate the number of entries in the extended LUT
SYNOPSIS int drm_color_lut32_size (const struct drm_property_blob *blob );
ARGUMENTS blob blob containing the LUT
RETURN The number of entries in the color LUT stored in blob.
SEE ALSO Kernel file ./include/drm/drm_color_mgmt.h d... |
drm_color_lut_check(9) | NAME drm_color_lut_check - check validity of lookup table
SYNOPSIS int drm_color_lut_check (const struct drm_property_blob *lut , u32 tests );
ARGUMENTS lut property blob containing LUT to check
tests bitmask of tests to run
DESCRIPTION Helper to check whether a userspace-provided lookup table... |
drm_color_lut_extract(9) | NAME drm_color_lut_extract - clamp and round LUT entries
SYNOPSIS u32 drm_color_lut_extract (u32 user_input , int bit_precision );
ARGUMENTS user_input input value
bit_precision
number of bits the hw LUT supports
DESCRIPTION Extract a degamma/gamma LUT value provided by user (in the for... |
drm_color_lut_size(9) | NAME drm_color_lut_size - calculate the number of entries in the LUT
SYNOPSIS int drm_color_lut_size (const struct drm_property_blob *blob );
ARGUMENTS blob blob containing the LUT
RETURN The number of entries in the color LUT stored in blob.
SEE ALSO Kernel file ./include/drm/drm_color_mgmt.h drm_color_lut_... |
drm_colorop_cleanup(9) | NAME drm_colorop_cleanup - Cleanup a drm_colorop object in color_pipeline
SYNOPSIS void drm_colorop_cleanup (struct drm_colorop *colorop );
ARGUMENTS colorop The drm_colorop object to be cleaned
SEE ALSO Kernel file ./drivers/gpu/drm/drm_colorop.c Kernel API(9), drm_colorop_pipeline_destroy(9), drm_plane... |
drm_colorop_find(9) | NAME drm_colorop_find - look up a Colorop object from its ID
SYNOPSIS struct drm_colorop * drm_colorop_find (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 drm_mode_object ID
DESCRIPTIO... |
drm_colorop_index(9) | NAME drm_colorop_index - find the index of a registered colorop
SYNOPSIS unsigned int drm_colorop_index (const struct drm_colorop *colorop );
ARGUMENTS colorop colorop to find index for
DESCRIPTION Given a registered colorop, return the index of that colorop within a DRM device's list of colorops.
SEE ALSO Kern... |
drm_colorop_pipeline_destroy(9) | NAME drm_colorop_pipeline_destroy - Helper for color pipeline destruction
SYNOPSIS void drm_colorop_pipeline_destroy (struct drm_device *dev );
ARGUMENTS dev - The drm_device containing the drm_planes with the color_pipelines
DESCRIPTION Provides a default color pipeline destroy handler for drm_device.
SEE ... |
drm_colorop_reset(9) | NAME drm_colorop_reset - reset colorop atomic state
SYNOPSIS void drm_colorop_reset (struct drm_colorop *colorop );
ARGUMENTS colorop drm colorop
DESCRIPTION Resets the atomic state for colorop by freeing the state pointer (which might be NULL, e.g. at driver load time) and allocating a new empty state object.
... |
drm_colorop_set_next_property(9) | NAME drm_colorop_set_next_property - sets the next pointer
SYNOPSIS void drm_colorop_set_next_property (struct drm_colorop *colorop , struct drm_colorop *next );
ARGUMENTS colorop drm colorop
next next colorop
DESCRIPTION Should be used when constructing the color pipeline
SEE ALSO Kernel file ... |
drm_compat_ioctl(9) | NAME drm_compat_ioctl - 32bit IOCTL compatibility handler for DRM drivers
SYNOPSIS long drm_compat_ioctl (struct file *filp , unsigned int cmd , unsigned long arg );
ARGUMENTS filp file this ioctl is called on
cmd ioctl cmd number
arg user argument
DESCRIPTION Compatibility ha... |
drm_connector_atomic_hdr_metadata_equal(9) | NAME drm_connector_atomic_hdr_metadata_equal - checks if the hdr metadata changed
SYNOPSIS bool drm_connector_atomic_hdr_metadata_equal (struct drm_connector_state *old_state , struct drm_connector_state *new_state );
ARGUMENTS old_state old connector state to compare
new_state new connector state to comp... |
drm_connector_attach_broadcast_rgb_property(9) | NAME drm_connector_attach_broadcast_rgb_property - attach "Broadcast RGB" property
SYNOPSIS int drm_connector_attach_broadcast_rgb_property (struct drm_connector *connector );
ARGUMENTS connector connector to attach the property on.
DESCRIPTION This is used to add support for forcing the RGB range on a connector
... |
drm_connector_attach_colorspace_property(9) | NAME drm_connector_attach_colorspace_property - attach "Colorspace" property
SYNOPSIS int drm_connector_attach_colorspace_property (struct drm_connector *connector );
ARGUMENTS connector connector to attach the property on.
DESCRIPTION This is used to allow the userspace to signal the output colorspace to the driv... |
drm_connector_attach_content_protection_property(9) | NAME drm_connector_attach_content_protection_property - attach content protection property
SYNOPSIS int drm_connector_attach_content_protection_property (struct drm_connector *connector , bool hdcp_content_type );
ARGUMENTS connector connector to attach CP property on.
hdcp_content_type
i... |
drm_connector_attach_content_type_property(9) | NAME drm_connector_attach_content_type_property - attach content-type property
SYNOPSIS int drm_connector_attach_content_type_property (struct drm_connector *connector );
ARGUMENTS connector connector to attach content type property on.
DESCRIPTION Called by a driver the first time a HDMI connector is made.
RETUR... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.