id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
drm_pagemap_migrate_to_devmem(9) | NAME drm_pagemap_migrate_to_devmem - Migrate a struct mm_struct range to device memory
SYNOPSIS int drm_pagemap_migrate_to_devmem (struct drm_pagemap_devmem *devmem_allocation , struct mm_struct *mm , unsigned long start , unsigned long end , const struct drm_pagemap_migrate_details *mdetails );
ARGUMENTS devmem_allo... |
drm_pagemap_migrate_to_ram(9) | NAME drm_pagemap_migrate_to_ram - Migrate a virtual range to RAM (page fault handler)
SYNOPSIS vm_fault_t drm_pagemap_migrate_to_ram (struct vm_fault *vmf );
ARGUMENTS vmf Pointer to the fault information structure
DESCRIPTION This function is a page fault handler used to migrate a virtual range to ram. The ... |
drm_pagemap_migrate_unmap_pages(9) | NAME drm_pagemap_migrate_unmap_pages - Unmap pages previously mapped for GPU SVM migration
SYNOPSIS void drm_pagemap_migrate_unmap_pages (struct device *dev , struct drm_pagemap_addr *pagemap_addr , unsigned long *migrate_pfn , unsigned long npages , enum dma_data_direction dir );
ARGUMENTS dev The device for... |
drm_pagemap_migration_unlock_put_page(9) | NAME drm_pagemap_migration_unlock_put_page - Put a migration page
SYNOPSIS void drm_pagemap_migration_unlock_put_page (struct page *page );
ARGUMENTS page Pointer to the page to put
DESCRIPTION This function unlocks and puts a page.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_pagemap.c Kernel API(9), Kernel A... |
drm_pagemap_migration_unlock_put_pages(9) | NAME drm_pagemap_migration_unlock_put_pages - Put migration pages
SYNOPSIS void drm_pagemap_migration_unlock_put_pages (unsigned long npages , unsigned long *migrate_pfn );
ARGUMENTS npages Number of pages
migrate_pfn Array of migrate page frame numbers
DESCRIPTION This function unlocks and puts an arra... |
drm_pagemap_page_to_dpagemap(9) | NAME drm_pagemap_page_to_dpagemap - Return a pointer the drm_pagemap of a page
SYNOPSIS struct drm_pagemap * drm_pagemap_page_to_dpagemap (struct page *page );
ARGUMENTS page The struct page.
RETURN A pointer to the struct drm_pagemap of a device private page that was populated from the struct drm_pagemap. If... |
drm_pagemap_pagemap_ops_get(9) | NAME drm_pagemap_pagemap_ops_get - Retrieve GPU SVM device page map operations
SYNOPSIS const struct dev_pagemap_ops * drm_pagemap_pagemap_ops_get (void );
ARGUMENTS void no arguments
RETURN Pointer to the GPU SVM device page map operations structure.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_pagemap.c Kern... |
drm_pagemap_populate_mm(9) | NAME drm_pagemap_populate_mm - Populate a virtual range with device memory pages
SYNOPSIS int drm_pagemap_populate_mm (struct drm_pagemap *dpagemap , unsigned long start , unsigned long end , struct mm_struct *mm , unsigned long timeslice_ms );
ARGUMENTS dpagemap Pointer to the drm_pagemap managing the device memo... |
drm_pagemap_put(9) | NAME drm_pagemap_put - Put a struct drm_pagemap reference
SYNOPSIS void drm_pagemap_put (struct drm_pagemap *dpagemap );
ARGUMENTS dpagemap Pointer to a struct drm_pagemap object.
DESCRIPTION Puts a struct drm_pagemap reference and frees the drm_pagemap object if the refount reaches zero.
SEE ALSO Kernel file ./... |
drm_pagemap_reinit(9) | NAME drm_pagemap_reinit - Reinitialize a drm_pagemap
SYNOPSIS int drm_pagemap_reinit (struct drm_pagemap *dpagemap );
ARGUMENTS dpagemap The drm_pagemap to reinitialize
DESCRIPTION Reinitialize a drm_pagemap, for which drm_pagemap_release has already been called. This interface is intended for the situation where... |
drm_pagemap_release_owner(9) | NAME drm_pagemap_release_owner - Stop participating in an interconnect group
SYNOPSIS void drm_pagemap_release_owner (struct drm_pagemap_peer *peer );
ARGUMENTS peer Pointer to the struct drm_pagemap_peer used when joining the group
DESCRIPTION Stop participating in an interconnect group. This function is typ... |
drm_pagemap_shrinker_add(9) | NAME drm_pagemap_shrinker_add - Add a drm_pagemap to the shrinker list or destroy
SYNOPSIS void drm_pagemap_shrinker_add (struct drm_pagemap *dpagemap );
ARGUMENTS dpagemap The drm_pagemap.
DESCRIPTION If dpagemap is associated with a struct drm_pagemap_cache AND the struct device backing the drm device is sti... |
drm_pagemap_shrinker_create_devm(9) | NAME drm_pagemap_shrinker_create_devm - Create and register a pagemap shrinker
SYNOPSIS struct drm_pagemap_shrinker * drm_pagemap_shrinker_create_devm (struct drm_device *drm );
ARGUMENTS drm The drm device
DESCRIPTION Create and register a pagemap shrinker that shrinks unused pagemaps and thereby reduces me... |
drm_pagemap_shrinker_might_lock(9) | NAME drm_pagemap_shrinker_might_lock - lockdep test for drm_pagemap_shrinker_add()
SYNOPSIS void drm_pagemap_shrinker_might_lock (struct drm_pagemap *dpagemap );
ARGUMENTS dpagemap The drm pagemap.
DESCRIPTION The drm_pagemap_shrinker_add function performs some locking. This function can be called in code-paths ... |
drm_pagemap_zdd_alloc(9) | NAME drm_pagemap_zdd_alloc - Allocate a zdd structure.
SYNOPSIS struct drm_pagemap_zdd * drm_pagemap_zdd_alloc (struct drm_pagemap *dpagemap );
ARGUMENTS dpagemap Pointer to the underlying struct drm_pagemap.
DESCRIPTION This function allocates and initializes a new zdd structure. It sets up the reference count a... |
drm_pagemap_zdd_destroy(9) | NAME drm_pagemap_zdd_destroy - Destroy a zdd structure.
SYNOPSIS void drm_pagemap_zdd_destroy (struct kref *ref );
ARGUMENTS ref Pointer to the reference count structure.
DESCRIPTION This function queues the destroy_work of the zdd for asynchronous destruction.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_p... |
drm_pagemap_zdd_get(9) | NAME drm_pagemap_zdd_get - Get a reference to a zdd structure.
SYNOPSIS struct drm_pagemap_zdd * drm_pagemap_zdd_get (struct drm_pagemap_zdd *zdd );
ARGUMENTS zdd Pointer to the zdd structure.
DESCRIPTION This function increments the reference count of the provided zdd structure.
RETURN Pointer to the zdd s... |
drm_pagemap_zdd_put(9) | NAME drm_pagemap_zdd_put - Put a zdd reference.
SYNOPSIS void drm_pagemap_zdd_put (struct drm_pagemap_zdd *zdd );
ARGUMENTS zdd Pointer to the zdd structure.
DESCRIPTION This function decrements the reference count of the provided zdd structure and schedules its destruction if the count drops to zero.
SEE A... |
drm_panel_add(9) | NAME drm_panel_add - add a panel to the global registry
SYNOPSIS void drm_panel_add (struct drm_panel *panel );
ARGUMENTS panel panel to add
DESCRIPTION Add a panel to the global registry so that it can be looked up by display drivers. The panel to be added must have been allocated by devm_drm_panel_alloc.
SE... |
drm_panel_add_follower(9) | NAME drm_panel_add_follower - Register something to follow panel state.
SYNOPSIS int drm_panel_add_follower (struct device *follower_dev , struct drm_panel_follower *follower );
ARGUMENTS follower_dev The 'struct device' for the follower.
follower The panel follower descriptor for the follower.
DESCRIPTIO... |
drm_panel_bridge_add(9) | NAME drm_panel_bridge_add - Creates a &drm_bridge and &drm_connector that just calls the appropriate functions from &drm_panel.
SYNOPSIS struct drm_bridge * drm_panel_bridge_add (struct drm_panel *panel );
ARGUMENTS panel The drm_panel being wrapped. Must be non-NULL.
DESCRIPTION For drivers converting fro... |
drm_panel_bridge_add_typed(9) | NAME drm_panel_bridge_add_typed - Creates a &drm_bridge and &drm_connector with an explicit connector type.
SYNOPSIS struct drm_bridge * drm_panel_bridge_add_typed (struct drm_panel *panel , u32 connector_type );
ARGUMENTS panel The drm_panel being wrapped. Must be non-NULL.
connector_type
... |
drm_panel_bridge_connector(9) | NAME drm_panel_bridge_connector - return the connector for the panel bridge
SYNOPSIS struct drm_connector * drm_panel_bridge_connector (struct drm_bridge *bridge );
ARGUMENTS bridge The drm_bridge.
DESCRIPTION drm_panel_bridge creates the connector. This function gives external access to the connector.
RETURN... |
drm_panel_bridge_remove(9) | NAME drm_panel_bridge_remove - Unregisters and frees a drm_bridge created by drm_panel_bridge_add().
SYNOPSIS void drm_panel_bridge_remove (struct drm_bridge *bridge );
ARGUMENTS bridge The drm_bridge being freed.
SEE ALSO Kernel file ./drivers/gpu/drm/bridge/panel.c drm_bridge_is_panel(9), dr... |
drm_panel_bridge_set_orientation(9) | NAME drm_panel_bridge_set_orientation - Set the connector's panel orientation from the bridge that can be transformed to panel bridge.
SYNOPSIS int drm_panel_bridge_set_orientation (struct drm_connector *connector , struct drm_bridge *bridge );
ARGUMENTS connector The connector to be set panel orientation.
... |
drm_panel_disable(9) | NAME drm_panel_disable - disable a panel
SYNOPSIS void drm_panel_disable (struct drm_panel *panel );
ARGUMENTS panel DRM panel
DESCRIPTION This will typically turn off the panel's backlight or disable the display drivers. For smart panels it should still be possible to communicate with the integrated circuitry... |
drm_panel_dp_aux_backlight(9) | NAME drm_panel_dp_aux_backlight - create and use DP AUX backlight
SYNOPSIS int drm_panel_dp_aux_backlight (struct drm_panel *panel , struct drm_dp_aux *aux );
ARGUMENTS panel DRM panel
aux The DP AUX channel to use
DESCRIPTION Use this function to create and handle backlight if your panel sup... |
drm_panel_enable(9) | NAME drm_panel_enable - enable a panel
SYNOPSIS void drm_panel_enable (struct drm_panel *panel );
ARGUMENTS panel DRM panel
DESCRIPTION Calling this function will cause the panel display drivers to be turned on and the backlight to be enabled. Content will be visible on screen after this call completes. This ... |
drm_panel_get(9) | NAME drm_panel_get - Acquire a panel reference
SYNOPSIS struct drm_panel * drm_panel_get (struct drm_panel *panel );
ARGUMENTS panel DRM panel
DESCRIPTION This function increments the panel's refcount.
RETURN Pointer to panel
SEE ALSO Kernel file ./drivers/gpu/drm/drm_panel.c Kernel API(9), drm_pan... |
drm_panel_get_modes(9) | NAME drm_panel_get_modes - probe the available display modes of a panel
SYNOPSIS int drm_panel_get_modes (struct drm_panel *panel , struct drm_connector *connector );
ARGUMENTS panel DRM panel
connector DRM connector
DESCRIPTION The modes probed from the panel are automatically added to the connector... |
drm_panel_init(9) | NAME drm_panel_init - initialize a panel
SYNOPSIS void drm_panel_init (struct drm_panel *panel , struct device *dev , const struct drm_panel_funcs *funcs , int connector_type );
ARGUMENTS panel DRM panel
dev parent device of the panel
funcs panel operations
connector_type
... |
drm_panel_of_backlight(9) | NAME drm_panel_of_backlight - use backlight device node for backlight
SYNOPSIS int drm_panel_of_backlight (struct drm_panel *panel );
ARGUMENTS panel DRM panel
DESCRIPTION Use this function to enable backlight handling if your panel uses device tree and has a backlight phandle. When the panel is enabled ba... |
drm_panel_prepare(9) | NAME drm_panel_prepare - power on a panel
SYNOPSIS void drm_panel_prepare (struct drm_panel *panel );
ARGUMENTS panel DRM panel
DESCRIPTION Calling this function will enable power and deassert any reset signals to the panel. After this has completed it is possible to communicate with any integrated circuitry v... |
drm_panel_put(9) | NAME drm_panel_put - Release a panel reference
SYNOPSIS void drm_panel_put (struct drm_panel *panel );
ARGUMENTS panel DRM panel
DESCRIPTION This function decrements the panel's reference count and frees the object if the reference count drops to zero.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_panel.c ... |
drm_panel_put_void(9) | NAME drm_panel_put_void - wrapper to drm_panel_put() taking a void pointer
SYNOPSIS void drm_panel_put_void (void *data );
ARGUMENTS data pointer to struct drm_panel, cast to a void pointer
DESCRIPTION Wrapper of drm_panel_put to be used when a function taking a void pointer is needed, for example as a devm a... |
drm_panel_remove(9) | NAME drm_panel_remove - remove a panel from the global registry
SYNOPSIS void drm_panel_remove (struct drm_panel *panel );
ARGUMENTS panel DRM panel
DESCRIPTION Removes a panel from the global registry.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_panel.c Kernel API(9), drm_panel_init(9), drm_panel_ad... |
drm_panel_remove_follower(9) | NAME drm_panel_remove_follower - Reverse drm_panel_add_follower().
SYNOPSIS void drm_panel_remove_follower (struct drm_panel_follower *follower );
ARGUMENTS follower The panel follower descriptor for the follower.
DESCRIPTION Undo drm_panel_add_follower. This includes calling the follower's unpreparing/disabling ... |
drm_panel_unprepare(9) | NAME drm_panel_unprepare - power off a panel
SYNOPSIS void drm_panel_unprepare (struct drm_panel *panel );
ARGUMENTS panel DRM panel
DESCRIPTION Calling this function will completely power off a panel (assert the panel's reset, turn off power supplies, ...). After this function has completed, it is usually ... |
drm_panic_exit(9) | NAME drm_panic_exit - Free the resources taken by drm_panic_exit()
SYNOPSIS void drm_panic_exit (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/gpu/drm/drm_panic.c Kernel API(9), drm_panic_is_enabled(9), drm_panic_register(9), drm_panic_unregister(9), drm_panic_init(9)
April 2026 ... |
drm_panic_init(9) | NAME drm_panic_init - initialize DRM panic.
SYNOPSIS void drm_panic_init (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/gpu/drm/drm_panic.c Kernel API(9), drm_panic_is_enabled(9), drm_panic_register(9), drm_panic_unregister(9), drm_panic_exit(9)
April 2026 ... |
drm_panic_is_enabled(9) | NAME drm_panic_is_enabled -
SYNOPSIS bool drm_panic_is_enabled (struct drm_device *dev );
ARGUMENTS dev the drm device that may supports drm_panic
DESCRIPTION returns true if the drm device supports drm_panic
SEE ALSO Kernel file ./drivers/gpu/drm/drm_panic.c Kernel API(9), drm_panic_register(9), drm_panic_... |
drm_panic_lock(9) | NAME drm_panic_lock - protect panic printing relevant state
SYNOPSIS drm_panic_lock (dev , flags );
ARGUMENTS dev struct drm_device
flags unsigned long irq flags you need to pass to the unlock counterpart
DESCRIPTION This function must be called to protect software and hardware state that th... |
drm_panic_register(9) | NAME drm_panic_register - Initialize DRM panic for a device
SYNOPSIS void drm_panic_register (struct drm_device *dev );
ARGUMENTS dev the drm device on which the panic screen will be displayed.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_panic.c Kernel API(9), drm_panic_is_enabled(9), drm_panic_unregister(9),... |
drm_panic_trylock(9) | NAME drm_panic_trylock - try to enter the panic printing critical section
SYNOPSIS drm_panic_trylock (dev , flags );
ARGUMENTS dev struct drm_device
flags unsigned long irq flags you need to pass to the unlock counterpart
DESCRIPTION This function must be called by any panic printing code. T... |
drm_panic_unlock(9) | NAME drm_panic_unlock - end of the panic printing critical section
SYNOPSIS drm_panic_unlock (dev , flags );
ARGUMENTS dev struct drm_device
flags irq flags that were returned when acquiring the lock
DESCRIPTION Unlocks the raw spinlock acquired by either drm_panic_lock or drm_panic_trylock.
S... |
drm_panic_unregister(9) | NAME drm_panic_unregister -
SYNOPSIS void drm_panic_unregister (struct drm_device *dev );
ARGUMENTS dev the drm device previously registered.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_panic.c Kernel API(9), drm_panic_is_enabled(9), drm_panic_register(9), drm_panic_init(9), drm_panic_exit(9)
April 2026 ... |
drm_plane_add_size_hints_property(9) | NAME drm_plane_add_size_hints_property - create a size hints property
SYNOPSIS int drm_plane_add_size_hints_property (struct drm_plane *plane , const struct drm_plane_size_hint *hints , int num_hints );
ARGUMENTS plane drm plane
hints size hints
num_hints number of size hints
DESCRIPTIO... |
drm_plane_cleanup(9) | NAME drm_plane_cleanup - Clean up the core plane usage
SYNOPSIS void drm_plane_cleanup (struct drm_plane *plane );
ARGUMENTS plane plane to cleanup
DESCRIPTION This function cleans up plane and removes it from the DRM mode setting core. Note that the function does *not* free the plane structure itself, this is... |
drm_plane_colorop_curve_1d_init(9) | NAME drm_plane_colorop_curve_1d_init - Initialize a DRM_COLOROP_1D_CURVE
SYNOPSIS int drm_plane_colorop_curve_1d_init (struct drm_device *dev , struct drm_colorop *colorop , struct drm_plane *plane , u64 supported_tfs , uint32_t flags );
ARGUMENTS dev DRM device
colorop The drm_colorop object to i... |
drm_plane_colorop_curve_1d_lut_init(9) | NAME drm_plane_colorop_curve_1d_lut_init - Initialize a DRM_COLOROP_1D_LUT
SYNOPSIS int drm_plane_colorop_curve_1d_lut_init (struct drm_device *dev , struct drm_colorop *colorop , struct drm_plane *plane , uint32_t lut_size , enum drm_colorop_lut1d_interpolation_type interpolation , uint32_t flags );
ARGUMENTS dev ... |
drm_plane_colorop_mult_init(9) | NAME drm_plane_colorop_mult_init - Initialize a DRM_COLOROP_MULTIPLIER
SYNOPSIS int drm_plane_colorop_mult_init (struct drm_device *dev , struct drm_colorop *colorop , struct drm_plane *plane , uint32_t flags );
ARGUMENTS dev DRM device
colorop The drm_colorop object to initialize
plane ... |
drm_plane_create_alpha_property(9) | NAME drm_plane_create_alpha_property - create a new alpha property
SYNOPSIS int drm_plane_create_alpha_property (struct drm_plane *plane );
ARGUMENTS plane drm plane
DESCRIPTION This function creates a generic, mutable, alpha property and enables support for it in the DRM core. It is attached to plane. ... |
drm_plane_create_blend_mode_property(9) | NAME drm_plane_create_blend_mode_property - create a new blend mode property
SYNOPSIS int drm_plane_create_blend_mode_property (struct drm_plane *plane , unsigned int supported_modes );
ARGUMENTS plane drm plane
supported_modes
bitmask of supported modes, must include BIT(DRM_MODE_BLE... |
drm_plane_create_color_pipeline_property(9) | NAME drm_plane_create_color_pipeline_property - create a new color pipeline property
SYNOPSIS int drm_plane_create_color_pipeline_property (struct drm_plane *plane , const struct drm_prop_enum_list *pipelines , int num_pipelines );
ARGUMENTS plane drm plane
pipelines list of pipelines
num_pipe... |
drm_plane_create_color_properties(9) | NAME drm_plane_create_color_properties - color encoding related plane properties
SYNOPSIS int drm_plane_create_color_properties (struct drm_plane *plane , u32 supported_encodings , u32 supported_ranges , enum drm_color_encoding default_encoding , enum drm_color_range default_range );
ARGUMENTS plane plane objec... |
drm_plane_create_hotspot_properties(9) | NAME drm_plane_create_hotspot_properties - creates the mouse hotspot properties and attaches them to the given cursor plane
SYNOPSIS int drm_plane_create_hotspot_properties (struct drm_plane *plane );
ARGUMENTS plane drm cursor plane
DESCRIPTION This function enables the mouse hotspot property on a given curso... |
drm_plane_create_rotation_property(9) | NAME drm_plane_create_rotation_property - create a new rotation property
SYNOPSIS int drm_plane_create_rotation_property (struct drm_plane *plane , unsigned int rotation , unsigned int supported_rotations );
ARGUMENTS plane drm plane
rotation initial value of the rotation property
supported_r... |
drm_plane_create_scaling_filter_property(9) | NAME drm_plane_create_scaling_filter_property - create a new scaling filter property
SYNOPSIS int drm_plane_create_scaling_filter_property (struct drm_plane *plane , unsigned int supported_filters );
ARGUMENTS plane drm plane
supported_filters
bitmask of supported scaling filters, mus... |
drm_plane_create_zpos_immutable_property(9) | NAME drm_plane_create_zpos_immutable_property - create immuttable zpos property
SYNOPSIS int drm_plane_create_zpos_immutable_property (struct drm_plane *plane , unsigned int zpos );
ARGUMENTS plane drm plane
zpos value of zpos property
DESCRIPTION This function initializes generic immutable zpo... |
drm_plane_create_zpos_property(9) | NAME drm_plane_create_zpos_property - create mutable zpos property
SYNOPSIS int drm_plane_create_zpos_property (struct drm_plane *plane , unsigned int zpos , unsigned int min , unsigned int max );
ARGUMENTS plane drm plane
zpos initial value of zpos property
min minimal possible v... |
drm_plane_enable_fb_damage_clips(9) | NAME drm_plane_enable_fb_damage_clips - Enables plane fb damage clips property.
SYNOPSIS void drm_plane_enable_fb_damage_clips (struct drm_plane *plane );
ARGUMENTS plane Plane on which to enable damage clips property.
DESCRIPTION This function lets driver to enable the damage clips property on a plane.
SEE A... |
drm_plane_find(9) | NAME drm_plane_find - find a &drm_plane
SYNOPSIS struct drm_plane * drm_plane_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 plane id
DESCRIPTION Returns the plane with id, NULL i... |
drm_plane_force_disable(9) | NAME drm_plane_force_disable - Forcibly disable a plane
SYNOPSIS void drm_plane_force_disable (struct drm_plane *plane );
ARGUMENTS plane plane to disable
DESCRIPTION Forces the plane to be disabled. Used when the plane's current framebuffer is destroyed, and when restoring fbdev mode. Note that this functi... |
drm_plane_from_index(9) | NAME drm_plane_from_index - find the registered plane at an index
SYNOPSIS struct drm_plane * drm_plane_from_index (struct drm_device *dev , int idx );
ARGUMENTS dev DRM device
idx index of registered plane to find for
DESCRIPTION Given a plane index, return the registered plane from DRM devi... |
drm_plane_get_damage_clips(9) | NAME drm_plane_get_damage_clips - Returns damage clips.
SYNOPSIS struct drm_mode_rect * drm_plane_get_damage_clips (const struct drm_plane_state *state );
ARGUMENTS state Plane state.
DESCRIPTION Note that this function returns uapi type drm_mode_rect. Drivers might want to use the helper functions drm_atomi... |
drm_plane_get_damage_clips_count(9) | NAME drm_plane_get_damage_clips_count - Returns damage clips count.
SYNOPSIS unsigned int drm_plane_get_damage_clips_count (const struct drm_plane_state *state );
ARGUMENTS state Plane state.
DESCRIPTION Simple helper to get the number of drm_mode_rect clips set by user-space during plane update.
RETURN Numbe... |
drm_plane_has_format(9) | NAME drm_plane_has_format - Check whether the plane supports this format and modifier combination
SYNOPSIS bool drm_plane_has_format (struct drm_plane *plane , u32 format , u64 modifier );
ARGUMENTS plane drm plane
format pixel format (DRM_FORMAT_*)
modifier data layout modifier
RETURN ... |
drm_plane_helper_add(9) | NAME drm_plane_helper_add - sets the helper vtable for a plane
SYNOPSIS void drm_plane_helper_add (struct drm_plane *plane , const struct drm_plane_helper_funcs *funcs );
ARGUMENTS plane DRM plane
funcs helper vtable to set for plane
SEE ALSO Kernel file ./include/drm/drm_modeset_helper_vtable... |
drm_plane_helper_destroy(9) | NAME drm_plane_helper_destroy - Helper for primary plane destruction
SYNOPSIS void drm_plane_helper_destroy (struct drm_plane *plane );
ARGUMENTS plane plane to destroy
DESCRIPTION Provides a default plane destroy handler for primary planes. This handler is called during CRTC destruction. We disable the prim... |
drm_plane_helper_disable_primary(9) | NAME drm_plane_helper_disable_primary - Helper for disabling primary planes
SYNOPSIS int drm_plane_helper_disable_primary (struct drm_plane *plane , struct drm_modeset_acquire_ctx *ctx );
ARGUMENTS plane plane to disable
ctx modeset locking context
DESCRIPTION This helper returns an error when ... |
drm_plane_helper_update_primary(9) | NAME drm_plane_helper_update_primary - Helper for updating primary planes
SYNOPSIS int drm_plane_helper_update_primary (struct drm_plane *plane , struct drm_crtc *crtc , struct drm_framebuffer *fb , int crtc_x , int crtc_y , unsigned int crtc_w , unsigned int crtc_h , uint32_t src_x , uint32_t src_y , uint32_t src_w ,... |
drm_plane_index(9) | NAME drm_plane_index - find the index of a registered plane
SYNOPSIS unsigned int drm_plane_index (const struct drm_plane *plane );
ARGUMENTS plane plane to find index for
DESCRIPTION Given a registered plane, return the index of that plane within a DRM device's list of planes.
SEE ALSO Kernel file ./includ... |
drm_plane_mask(9) | NAME drm_plane_mask - find the mask of a registered plane
SYNOPSIS u32 drm_plane_mask (const struct drm_plane *plane );
ARGUMENTS plane plane to find mask for
SEE ALSO Kernel file ./include/drm/drm_plane.h struct drm_plane_state(9), struct drm_plane_funcs(9), enum drm_plane_type(9), struct drm_plane(9), dr... |
drm_poll(9) | NAME drm_poll - poll method for DRM file
SYNOPSIS __poll_t drm_poll (struct file *filp , struct poll_table_struct *wait );
ARGUMENTS filp file pointer
wait poll waiter table
DESCRIPTION This function must be used by drivers as their file_operations.read method if they use DRM events for asyn... |
drm_prime_gem_destroy(9) | NAME drm_prime_gem_destroy - helper to clean up a PRIME-imported GEM object
SYNOPSIS void drm_prime_gem_destroy (struct drm_gem_object *obj , struct sg_table *sg );
ARGUMENTS obj GEM object which was created from a dma-buf
sg the sg-table which was pinned at import time
DESCRIPTION This is t... |
drm_prime_get_contiguous_size(9) | NAME drm_prime_get_contiguous_size - returns the contiguous size of the buffer
SYNOPSIS unsigned long drm_prime_get_contiguous_size (struct sg_table *sgt );
ARGUMENTS sgt sg_table describing the buffer to check
DESCRIPTION This helper calculates the contiguous size in the DMA address space of the buffer desc... |
drm_prime_pages_to_sg(9) | NAME drm_prime_pages_to_sg - converts a page array into an sg list
SYNOPSIS struct sg_table * drm_prime_pages_to_sg (struct drm_device *dev , struct page **pages , unsigned int nr_pages );
ARGUMENTS dev DRM device
pages pointer to the array of page pointers to convert
nr_pages length ... |
drm_prime_sg_to_dma_addr_array(9) | NAME drm_prime_sg_to_dma_addr_array - convert an sg table into a dma addr array
SYNOPSIS int drm_prime_sg_to_dma_addr_array (struct sg_table *sgt , dma_addr_t *addrs , int max_entries );
ARGUMENTS sgt scatter-gather table to convert
addrs array to store the dma bus address of each page
m... |
drm_prime_sg_to_page_array(9) | NAME drm_prime_sg_to_page_array - convert an sg table into a page array
SYNOPSIS int drm_prime_sg_to_page_array (struct sg_table *sgt , struct page **pages , int max_entries );
ARGUMENTS sgt scatter-gather table to convert
pages array of page pointers to store the pages in
max_entries si... |
drm_print_bits(9) | NAME drm_print_bits - print bits to a &drm_printer stream
SYNOPSIS void drm_print_bits (struct drm_printer *p , unsigned long value , const char * const bits[] , unsigned int nbits );
ARGUMENTS p the drm_printer
value field value.
bits Array with bit names.
nbits S... |
drm_print_hex_dump(9) | NAME drm_print_hex_dump - print a hex dump to a &drm_printer stream
SYNOPSIS void drm_print_hex_dump (struct drm_printer *p , const char *prefix , const u8 *buf , size_t len );
ARGUMENTS p The drm_printer
prefix Prefix for each line, may be NULL for no prefix
buf Buffer to dump
... |
drm_print_memory_stats(9) | NAME drm_print_memory_stats - A helper to print memory stats
SYNOPSIS void drm_print_memory_stats (struct drm_printer *p , const struct drm_memory_stats *stats , enum drm_gem_object_status supported_status , const char *region );
ARGUMENTS p The printer to print output to
stats The collected m... |
drm_print_regset32(9) | NAME drm_print_regset32 - print the contents of registers to a &drm_printer stream.
SYNOPSIS void drm_print_regset32 (struct drm_printer *p , struct debugfs_regset32 *regset );
ARGUMENTS p the drm printer
regset the list of registers to print.
DESCRIPTION Often in driver debug, it's useful to ... |
drm_printf(9) | NAME drm_printf - print to a &drm_printer stream
SYNOPSIS void drm_printf (struct drm_printer *p , const char *f , ... );
ARGUMENTS p the drm_printer
f format string
... variable arguments
SEE ALSO Kernel file ./drivers/gpu/drm/drm_print.c drm_puts(9), drm_print_bits(9), d... |
drm_printf_indent(9) | NAME drm_printf_indent - Print to a &drm_printer stream with indentation
SYNOPSIS drm_printf_indent (printer , indent , fmt , ... );
ARGUMENTS printer DRM printer
indent Tab indentation level (max 5)
fmt Format string
... variable arguments
SEE ALSO Kernel file ./i... |
drm_privacy_screen_call_notifier_chain(9) | NAME drm_privacy_screen_call_notifier_chain - notify consumers of state change
SYNOPSIS void drm_privacy_screen_call_notifier_chain (struct drm_privacy_screen *priv );
ARGUMENTS priv Privacy screen to register the notifier with
DESCRIPTION A privacy-screen provider driver can call this functions upon external... |
drm_privacy_screen_get(9) | NAME drm_privacy_screen_get - get a privacy-screen provider
SYNOPSIS struct drm_privacy_screen * drm_privacy_screen_get (struct device *dev , const char *con_id );
ARGUMENTS dev consumer-device for which to get a privacy-screen provider
con_id (video)connector name for which to get a privacy-scre... |
drm_privacy_screen_get_state(9) | NAME drm_privacy_screen_get_state - get privacy-screen's current state
SYNOPSIS void drm_privacy_screen_get_state (struct drm_privacy_screen *priv , enum drm_privacy_screen_status *sw_state_ret , enum drm_privacy_screen_status *hw_state_ret );
ARGUMENTS priv privacy screen to get the state for
sw_state... |
drm_privacy_screen_lookup_add(9) | NAME drm_privacy_screen_lookup_add - add an entry to the static privacy-screen lookup list
SYNOPSIS void drm_privacy_screen_lookup_add (struct drm_privacy_screen_lookup *lookup );
ARGUMENTS lookup lookup list entry to add
DESCRIPTION Add an entry to the static privacy-screen lookup list. Note the struct... |
drm_privacy_screen_lookup_remove(9) | NAME drm_privacy_screen_lookup_remove - remove an entry to the static privacy-screen lookup list
SYNOPSIS void drm_privacy_screen_lookup_remove (struct drm_privacy_screen_lookup *lookup );
ARGUMENTS lookup lookup list entry to remove
DESCRIPTION Remove an entry previously added with drm_privacy_screen_lookup_ad... |
drm_privacy_screen_put(9) | NAME drm_privacy_screen_put - release a privacy-screen reference
SYNOPSIS void drm_privacy_screen_put (struct drm_privacy_screen *priv );
ARGUMENTS priv privacy screen reference to release
DESCRIPTION Release a privacy-screen provider reference gotten through drm_privacy_screen_get. May be called with a NULL ... |
drm_privacy_screen_register(9) | NAME drm_privacy_screen_register - register a privacy-screen
SYNOPSIS struct drm_privacy_screen * drm_privacy_screen_register (struct device *parent , const struct drm_privacy_screen_ops *ops , void *data );
ARGUMENTS parent parent-device for the privacy-screen
ops struct drm_privacy_screen_ops p... |
drm_privacy_screen_register_notifier(9) | NAME drm_privacy_screen_register_notifier - register a notifier
SYNOPSIS int drm_privacy_screen_register_notifier (struct drm_privacy_screen *priv , struct notifier_block *nb );
ARGUMENTS priv Privacy screen to register the notifier with
nb Notifier-block for the notifier to register
DESCRIPT... |
drm_privacy_screen_set_sw_state(9) | NAME drm_privacy_screen_set_sw_state - set a privacy-screen's sw-state
SYNOPSIS int drm_privacy_screen_set_sw_state (struct drm_privacy_screen *priv , enum drm_privacy_screen_status sw_state );
ARGUMENTS priv privacy screen to set the sw-state for
sw_state new sw-state value to set
DESCRIPTION Set ... |
drm_privacy_screen_unregister(9) | NAME drm_privacy_screen_unregister - unregister privacy-screen
SYNOPSIS void drm_privacy_screen_unregister (struct drm_privacy_screen *priv );
ARGUMENTS priv privacy-screen to unregister
DESCRIPTION Unregister a privacy-screen registered with drm_privacy_screen_register. May be called with a NULL or ERR_PTR,... |
drm_privacy_screen_unregister_notifier(9) | NAME drm_privacy_screen_unregister_notifier - unregister a notifier
SYNOPSIS int drm_privacy_screen_unregister_notifier (struct drm_privacy_screen *priv , struct notifier_block *nb );
ARGUMENTS priv Privacy screen to register the notifier with
nb Notifier-block for the notifier to register
DE... |
drm_probe_ddc(9) | NAME drm_probe_ddc - probe DDC presence
SYNOPSIS bool drm_probe_ddc (struct i2c_adapter *adapter );
ARGUMENTS adapter I2C adapter to probe
RETURN True on success, false on failure.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_edid.c drm_edid_header_is_valid(9), drm_edid_is_valid(9), drm_edid_valid(9), drm_... |
drm_property_add_enum(9) | NAME drm_property_add_enum - add a possible value to an enumeration property
SYNOPSIS int drm_property_add_enum (struct drm_property *property , uint64_t value , const char *name );
ARGUMENTS property enumeration property to change
value value of the new enumeration
name symbolic name ... |
drm_property_blob_get(9) | NAME drm_property_blob_get - acquire blob property reference
SYNOPSIS struct drm_property_blob * drm_property_blob_get (struct drm_property_blob *blob );
ARGUMENTS blob DRM blob property
DESCRIPTION Acquires a reference to an existing blob property. Returns blob, which allows this to be used as a shorthand in... |
drm_property_blob_put(9) | NAME drm_property_blob_put - release a blob property reference
SYNOPSIS void drm_property_blob_put (struct drm_property_blob *blob );
ARGUMENTS blob DRM blob property
DESCRIPTION Releases a reference to a blob property. May free the object.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_property.c Kernel API(9),... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.