id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
drm_mode_create_tv_properties_legacy(9) | NAME drm_mode_create_tv_properties_legacy - create TV specific connector properties
SYNOPSIS int drm_mode_create_tv_properties_legacy (struct drm_device *dev , unsigned int num_modes , const char * const modes[] );
ARGUMENTS dev DRM device
num_modes number of different TV formats (modes) supported
... |
drm_mode_crtc_set_gamma_size(9) | NAME drm_mode_crtc_set_gamma_size - set the gamma table size
SYNOPSIS int drm_mode_crtc_set_gamma_size (struct drm_crtc *crtc , int gamma_size );
ARGUMENTS crtc CRTC to set the gamma table size for
gamma_size size of the gamma table
DESCRIPTION Drivers which support gamma tables should set this to th... |
drm_mode_debug_printmodeline(9) | NAME drm_mode_debug_printmodeline - print a mode to dmesg
SYNOPSIS void drm_mode_debug_printmodeline (const struct drm_display_mode *mode );
ARGUMENTS mode mode to print
DESCRIPTION Describe mode using DRM_DEBUG.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_modes.c drm_mode_create(9), drm_mode_destroy(9), ... |
drm_mode_destroy(9) | NAME drm_mode_destroy - remove a mode
SYNOPSIS void drm_mode_destroy (struct drm_device *dev , struct drm_display_mode *mode );
ARGUMENTS dev DRM device
mode mode to remove
DESCRIPTION Release mode's unique ID, then free it mode structure itself using kfree.
SEE ALSO Kernel file ./drivers... |
drm_mode_dirtyfb_ioctl(9) | NAME drm_mode_dirtyfb_ioctl - flush frontbuffer rendering on an FB
SYNOPSIS int drm_mode_dirtyfb_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev drm device for the ioctl
data data pointer for the ioctl
file_priv drm file for the ioctl call
DES... |
drm_mode_duplicate(9) | NAME drm_mode_duplicate - allocate and duplicate an existing mode
SYNOPSIS struct drm_display_mode * drm_mode_duplicate (struct drm_device *dev , const struct drm_display_mode *mode );
ARGUMENTS dev drm_device to allocate the duplicated mode for
mode mode to duplicate
DESCRIPTION Just allocate... |
drm_mode_equal(9) | NAME drm_mode_equal - test modes for equality
SYNOPSIS bool drm_mode_equal (const struct drm_display_mode *mode1 , const struct drm_display_mode *mode2 );
ARGUMENTS mode1 first mode
mode2 second mode
DESCRIPTION Check to see if mode1 and mode2 are equivalent.
RETURN True if the modes are equal, ... |
drm_mode_equal_no_clocks(9) | NAME drm_mode_equal_no_clocks - test modes for equality
SYNOPSIS bool drm_mode_equal_no_clocks (const struct drm_display_mode *mode1 , const struct drm_display_mode *mode2 );
ARGUMENTS mode1 first mode
mode2 second mode
DESCRIPTION Check to see if mode1 and mode2 are equivalent, but don't check t... |
drm_mode_equal_no_clocks_no_stereo(9) | NAME drm_mode_equal_no_clocks_no_stereo - test modes for equality
SYNOPSIS bool drm_mode_equal_no_clocks_no_stereo (const struct drm_display_mode *mode1 , const struct drm_display_mode *mode2 );
ARGUMENTS mode1 first mode
mode2 second mode
DESCRIPTION Check to see if mode1 and mode2 are equivalen... |
drm_mode_gamma_get_ioctl(9) | NAME drm_mode_gamma_get_ioctl - get the gamma table
SYNOPSIS int drm_mode_gamma_get_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev DRM device
data ioctl data
file_priv DRM file info
DESCRIPTION Copy the current gamma table into the storage pr... |
drm_mode_gamma_set_ioctl(9) | NAME drm_mode_gamma_set_ioctl - set the gamma table
SYNOPSIS int drm_mode_gamma_set_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev DRM device
data ioctl data
file_priv DRM file info
DESCRIPTION Set the gamma table of a CRTC to the one passed ... |
drm_mode_get_hv_timing(9) | NAME drm_mode_get_hv_timing - Fetches hdisplay/vdisplay for given mode
SYNOPSIS void drm_mode_get_hv_timing (const struct drm_display_mode *mode , int *hdisplay , int *vdisplay );
ARGUMENTS mode mode to query
hdisplay hdisplay value to fill in
vdisplay vdisplay value to fill in
DESCRIPTI... |
drm_mode_get_tile_group(9) | NAME drm_mode_get_tile_group - get a reference to an existing tile group
SYNOPSIS struct drm_tile_group * drm_mode_get_tile_group (struct drm_device *dev , const char topology[8] );
ARGUMENTS dev DRM device
topology 8-bytes unique per monitor.
DESCRIPTION Use the unique bytes to get a reference to... |
drm_mode_getcrtc(9) | NAME drm_mode_getcrtc - get CRTC configuration
SYNOPSIS int drm_mode_getcrtc (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev drm device for the ioctl
data data pointer for the ioctl
file_priv drm file for the ioctl call
DESCRIPTION Construct a CRTC ... |
drm_mode_getfb(9) | NAME drm_mode_getfb - get FB info
SYNOPSIS int drm_mode_getfb (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev drm device for the ioctl
data data pointer for the ioctl
file_priv drm file for the ioctl call
DESCRIPTION Lookup the FB given its ID and r... |
drm_mode_getfb2_ioctl(9) | NAME drm_mode_getfb2_ioctl - get extended FB info
SYNOPSIS int drm_mode_getfb2_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev drm device for the ioctl
data data pointer for the ioctl
file_priv drm file for the ioctl call
DESCRIPTION Lookup th... |
drm_mode_getresources(9) | NAME drm_mode_getresources - get graphics configuration
SYNOPSIS int drm_mode_getresources (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev drm device for the ioctl
data data pointer for the ioctl
file_priv drm file for the ioctl call
DESCRIPTION Con... |
drm_mode_init(9) | NAME drm_mode_init - initialize the mode from another mode
SYNOPSIS void drm_mode_init (struct drm_display_mode *dst , const struct drm_display_mode *src );
ARGUMENTS dst mode to overwrite
src mode to copy
DESCRIPTION Copy an existing mode into another mode, zeroing the list head of the desti... |
drm_mode_is_420(9) | NAME drm_mode_is_420 - if a given videomode can be supported in YCBCR420 output format
SYNOPSIS bool drm_mode_is_420 (const struct drm_display_info *display , const struct drm_display_mode *mode );
ARGUMENTS display display under action.
mode video mode to be tested.
RETURN true if the mode can be... |
drm_mode_is_420_also(9) | NAME drm_mode_is_420_also - if a given videomode can be supported in YCBCR420 output format also (along with RGB/YCBCR444/422)
SYNOPSIS bool drm_mode_is_420_also (const struct drm_display_info *display , const struct drm_display_mode *mode );
ARGUMENTS display display under action.
mode video mode ... |
drm_mode_is_420_only(9) | NAME drm_mode_is_420_only - if a given videomode can be only supported in YCBCR420 output format
SYNOPSIS bool drm_mode_is_420_only (const struct drm_display_info *display , const struct drm_display_mode *mode );
ARGUMENTS display display under action
mode video mode to be tested.
RETURN true if t... |
drm_mode_is_stereo(9) | NAME drm_mode_is_stereo - check for stereo mode flags
SYNOPSIS bool drm_mode_is_stereo (const struct drm_display_mode *mode );
ARGUMENTS mode drm_display_mode to check
RETURN True if the mode is one of the stereo modes (like side-by-side), false if not.
SEE ALSO Kernel file ./include/drm/drm_modes.h enum drm... |
drm_mode_legacy_fb_format(9) | NAME drm_mode_legacy_fb_format - compute drm fourcc code from legacy description
SYNOPSIS uint32_t drm_mode_legacy_fb_format (uint32_t bpp , uint32_t depth );
ARGUMENTS bpp bits per pixels
depth bit depth per pixel
DESCRIPTION Computes a drm fourcc pixel format code for the given bpp/depth valu... |
drm_mode_match(9) | NAME drm_mode_match - test modes for (partial) equality
SYNOPSIS bool drm_mode_match (const struct drm_display_mode *mode1 , const struct drm_display_mode *mode2 , unsigned int match_flags );
ARGUMENTS mode1 first mode
mode2 second mode
match_flags which parts need to match (DRM_MODE_MATCH... |
drm_mode_mmap_dumb_ioctl(9) | NAME drm_mode_mmap_dumb_ioctl - create an mmap offset for a dumb backing storage buffer
SYNOPSIS int drm_mode_mmap_dumb_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev DRM device
data ioctl data
file_priv DRM file info
DESCRIPTION Allocate an ... |
drm_mode_obj_get_properties_ioctl(9) | NAME drm_mode_obj_get_properties_ioctl - get the current value of a object's property
SYNOPSIS int drm_mode_obj_get_properties_ioctl (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev DRM device
data ioctl data
file_priv DRM file info
DESCRIPTION This ... |
drm_mode_object_add(9) | NAME drm_mode_object_add - allocate a new modeset identifier
SYNOPSIS int drm_mode_object_add (struct drm_device *dev , struct drm_mode_object *obj , uint32_t obj_type );
ARGUMENTS dev DRM device
obj object pointer, used to generate unique ID
obj_type object type
DESCRIPTION Create... |
drm_mode_object_find(9) | NAME drm_mode_object_find - look up a drm object with static lifetime
SYNOPSIS struct drm_mode_object * drm_mode_object_find (struct drm_device *dev , struct drm_file *file_priv , uint32_t id , uint32_t type );
ARGUMENTS dev drm device
file_priv drm file
id id of the mode object
... |
drm_mode_object_get(9) | NAME drm_mode_object_get - acquire a mode object reference
SYNOPSIS void drm_mode_object_get (struct drm_mode_object *obj );
ARGUMENTS obj DRM mode object
DESCRIPTION This function increments the object's refcount if it is a refcounted modeset object. It is a no-op on any other object. References should be d... |
drm_mode_object_lease_required(9) | NAME drm_mode_object_lease_required - check types which must be leased to be used
SYNOPSIS bool drm_mode_object_lease_required (uint32_t type );
ARGUMENTS type type of object
DESCRIPTION Returns whether the provided type of drm_mode_object must be owned or leased to be used by a process.
SEE ALSO Kernel fil... |
drm_mode_object_put(9) | NAME drm_mode_object_put - release a mode object reference
SYNOPSIS void drm_mode_object_put (struct drm_mode_object *obj );
ARGUMENTS obj DRM mode object
DESCRIPTION This function decrements the object's refcount if it is a refcounted modeset object. It is a no-op on any other object. This is used to drop r... |
drm_mode_object_unregister(9) | NAME drm_mode_object_unregister - free a modeset identifier
SYNOPSIS void drm_mode_object_unregister (struct drm_device *dev , struct drm_mode_object *object );
ARGUMENTS dev DRM device
object object to free
DESCRIPTION Free id from dev's unique identifier pool. This function can be called... |
drm_mode_parse_command_line_for_connector(9) | NAME drm_mode_parse_command_line_for_connector - parse command line modeline for connector
SYNOPSIS bool drm_mode_parse_command_line_for_connector (const char *mode_option , const struct drm_connector *connector , struct drm_cmdline_mode *mode );
ARGUMENTS mode_option optional per connector mode option
connec... |
drm_mode_plane_set_obj_prop(9) | NAME drm_mode_plane_set_obj_prop - set the value of a property
SYNOPSIS int drm_mode_plane_set_obj_prop (struct drm_plane *plane , struct drm_property *property , uint64_t value );
ARGUMENTS plane drm plane object to set property value for
property property to set
value value the proper... |
drm_mode_probed_add(9) | NAME drm_mode_probed_add - add a mode to a connector's probed_mode list
SYNOPSIS void drm_mode_probed_add (struct drm_connector *connector , struct drm_display_mode *mode );
ARGUMENTS connector connector the new mode
mode mode data
DESCRIPTION Add mode to connector's probed_mode list for later use. ... |
drm_mode_prune_invalid(9) | NAME drm_mode_prune_invalid - remove invalid modes from mode list
SYNOPSIS void drm_mode_prune_invalid (struct drm_device *dev , struct list_head *mode_list , bool verbose );
ARGUMENTS dev DRM device
mode_list list of modes to check
verbose be verbose about it
DESCRIPTION This helper f... |
drm_mode_put_tile_group(9) | NAME drm_mode_put_tile_group - drop a reference to a tile group.
SYNOPSIS void drm_mode_put_tile_group (struct drm_device *dev , struct drm_tile_group *tg );
ARGUMENTS dev DRM device
tg tile group to drop reference to.
DESCRIPTION drop reference to tile group and free if 0.
SEE ALSO Kernel ... |
drm_mode_rmfb(9) | NAME drm_mode_rmfb - remove an FB from the configuration
SYNOPSIS int drm_mode_rmfb (struct drm_device *dev , u32 fb_id , struct drm_file *file_priv );
ARGUMENTS dev drm device
fb_id id of framebuffer to remove
file_priv drm file
DESCRIPTION Remove the specified FB. Called by the use... |
drm_mode_set_config_internal(9) | NAME drm_mode_set_config_internal - helper to call &drm_mode_config_funcs.set_config
SYNOPSIS int drm_mode_set_config_internal (struct drm_mode_set *set );
ARGUMENTS set modeset config to set
DESCRIPTION This is a little helper to wrap internal calls to the drm_mode_config_funcs.set_config driver interface. ... |
drm_mode_set_crtcinfo(9) | NAME drm_mode_set_crtcinfo - set CRTC modesetting timing parameters
SYNOPSIS void drm_mode_set_crtcinfo (struct drm_display_mode *p , int adjust_flags );
ARGUMENTS p mode
adjust_flags
a combination of adjustment flags
DESCRIPTION Setup the CRTC modesetting timing parameters for ... |
drm_mode_set_name(9) | NAME drm_mode_set_name - set the name on a mode
SYNOPSIS void drm_mode_set_name (struct drm_display_mode *mode );
ARGUMENTS mode name will be set in this mode
DESCRIPTION Set the name of mode to a standard format which is <hdisplay>x<vdisplay> with an optional 'i' suffix for interlaced modes.
SEE ALSO Kernel... |
drm_mode_setcrtc(9) | NAME drm_mode_setcrtc - set CRTC configuration
SYNOPSIS int drm_mode_setcrtc (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev drm device for the ioctl
data data pointer for the ioctl
file_priv drm file for the ioctl call
DESCRIPTION Build a new CRTC ... |
drm_mode_size_dumb(9) | NAME drm_mode_size_dumb - Calculates the scanline and buffer sizes for dumb buffers
SYNOPSIS int drm_mode_size_dumb (struct drm_device *dev , struct drm_mode_create_dumb *args , unsigned long hw_pitch_align , unsigned long hw_size_align );
ARGUMENTS dev DRM device
args Parameters for the dumb b... |
drm_mode_sort(9) | NAME drm_mode_sort - sort mode list
SYNOPSIS void drm_mode_sort (struct list_head *mode_list );
ARGUMENTS mode_list list of drm_display_mode structures to sort
DESCRIPTION Sort mode_list by favorability, moving good modes to the head of the list.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_modes.c drm_mode_debug_p... |
drm_mode_validate_driver(9) | NAME drm_mode_validate_driver - make sure the mode is somewhat sane
SYNOPSIS enum drm_mode_status drm_mode_validate_driver (struct drm_device *dev , const struct drm_display_mode *mode );
ARGUMENTS dev drm device
mode mode to check
DESCRIPTION First do basic validation on the mode, and then al... |
drm_mode_validate_size(9) | NAME drm_mode_validate_size - make sure modes adhere to size constraints
SYNOPSIS enum drm_mode_status drm_mode_validate_size (const struct drm_display_mode *mode , int maxX , int maxY );
ARGUMENTS mode mode to check
maxX maximum width
maxY maximum height
DESCRIPTION This functi... |
drm_mode_validate_ycbcr420(9) | NAME drm_mode_validate_ycbcr420 - add 'ycbcr420-only' modes only when allowed
SYNOPSIS enum drm_mode_status drm_mode_validate_ycbcr420 (const struct drm_display_mode *mode , struct drm_connector *connector );
ARGUMENTS mode mode to check
connector drm connector under action
DESCRIPTION This function... |
drm_mode_vrefresh(9) | NAME drm_mode_vrefresh - get the vrefresh of a mode
SYNOPSIS int drm_mode_vrefresh (const struct drm_display_mode *mode );
ARGUMENTS mode mode
RETURN modes's vrefresh rate in Hz, rounded to the nearest integer.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_modes.c drm_mode_debug_printmodeline(9), drm_mode_creat... |
drm_modeset_acquire_fini(9) | NAME drm_modeset_acquire_fini - cleanup acquire context
SYNOPSIS void drm_modeset_acquire_fini (struct drm_modeset_acquire_ctx *ctx );
ARGUMENTS ctx the acquire context
SEE ALSO Kernel file ./drivers/gpu/drm/drm_modeset_lock.c Kernel API(9), drm_modeset_lock_all(9), drm_modeset_unlock_all(9), drm_warn_on_mo... |
drm_modeset_acquire_init(9) | NAME drm_modeset_acquire_init - initialize acquire context
SYNOPSIS void drm_modeset_acquire_init (struct drm_modeset_acquire_ctx *ctx , uint32_t flags );
ARGUMENTS ctx the acquire context
flags 0 or DRM_MODESET_ACQUIRE_INTERRUPTIBLE
DESCRIPTION When passing DRM_MODESET_ACQUIRE_INTERRUPTIBLE to... |
drm_modeset_backoff(9) | NAME drm_modeset_backoff - deadlock avoidance backoff
SYNOPSIS int drm_modeset_backoff (struct drm_modeset_acquire_ctx *ctx );
ARGUMENTS ctx the acquire context
DESCRIPTION If deadlock is detected (ie. drm_modeset_lock returns -EDEADLK), you must call this function to drop all currently held locks and bloc... |
drm_modeset_drop_locks(9) | NAME drm_modeset_drop_locks - drop all locks
SYNOPSIS void drm_modeset_drop_locks (struct drm_modeset_acquire_ctx *ctx );
ARGUMENTS ctx the acquire context
DESCRIPTION Drop all locks currently held against this acquire context.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_modeset_lock.c Kernel API(9), drm_mod... |
drm_modeset_is_locked(9) | NAME drm_modeset_is_locked - equivalent to mutex_is_locked()
SYNOPSIS bool drm_modeset_is_locked (struct drm_modeset_lock *lock );
ARGUMENTS lock lock to check
SEE ALSO Kernel file ./include/drm/drm_modeset_lock.h struct drm_modeset_acquire_ctx(9), struct drm_modeset_lock(9), drm_modeset_lock_fini(... |
drm_modeset_lock(9) | NAME drm_modeset_lock - take modeset lock
SYNOPSIS int drm_modeset_lock (struct drm_modeset_lock *lock , struct drm_modeset_acquire_ctx *ctx );
ARGUMENTS lock lock to take
ctx acquire ctx
DESCRIPTION If ctx is not NULL, then its ww acquire context is used and the lock will be tracked by the c... |
drm_modeset_lock_all(9) | NAME drm_modeset_lock_all - take all modeset locks
SYNOPSIS void drm_modeset_lock_all (struct drm_device *dev );
ARGUMENTS dev DRM device
DESCRIPTION This function takes all modeset locks, suitable where a more fine-grained scheme isn't (yet) implemented. Locks must be dropped by calling the drm_modeset_unl... |
drm_modeset_lock_all_ctx(9) | NAME drm_modeset_lock_all_ctx - take all modeset locks
SYNOPSIS int drm_modeset_lock_all_ctx (struct drm_device *dev , struct drm_modeset_acquire_ctx *ctx );
ARGUMENTS dev DRM device
ctx lock acquisition context
DESCRIPTION This function takes all modeset locks, suitable where a more fine-gr... |
drm_modeset_lock_assert_held(9) | NAME drm_modeset_lock_assert_held - equivalent to lockdep_assert_held()
SYNOPSIS void drm_modeset_lock_assert_held (struct drm_modeset_lock *lock );
ARGUMENTS lock lock to check
SEE ALSO Kernel file ./include/drm/drm_modeset_lock.h struct drm_modeset_acquire_ctx(9), struct drm_modeset_lock(9), drm_modeset_loc... |
drm_modeset_lock_fini(9) | NAME drm_modeset_lock_fini - cleanup lock
SYNOPSIS void drm_modeset_lock_fini (struct drm_modeset_lock *lock );
ARGUMENTS lock lock to cleanup
SEE ALSO Kernel file ./include/drm/drm_modeset_lock.h struct drm_modeset_acquire_ctx(9), struct drm_modeset_lock(9), drm_modeset_is_locked(9), drm_modeset_... |
drm_modeset_lock_init(9) | NAME drm_modeset_lock_init - initialize lock
SYNOPSIS void drm_modeset_lock_init (struct drm_modeset_lock *lock );
ARGUMENTS lock lock to init
SEE ALSO Kernel file ./drivers/gpu/drm/drm_modeset_lock.c Kernel API(9), drm_modeset_lock_all(9), drm_modeset_unlock_all(9), drm_warn_on_modeset_not_all_loc... |
drm_modeset_lock_single_interruptible(9) | NAME drm_modeset_lock_single_interruptible - take a single modeset lock
SYNOPSIS int drm_modeset_lock_single_interruptible (struct drm_modeset_lock *lock );
ARGUMENTS lock lock to take
DESCRIPTION This function behaves as drm_modeset_lock with a NULL context, but performs interruptible waits. This function r... |
drm_modeset_unlock(9) | NAME drm_modeset_unlock - drop modeset lock
SYNOPSIS void drm_modeset_unlock (struct drm_modeset_lock *lock );
ARGUMENTS lock lock to release
SEE ALSO Kernel file ./drivers/gpu/drm/drm_modeset_lock.c Kernel API(9), drm_modeset_lock_all(9), drm_modeset_unlock_all(9), drm_warn_on_modeset_not_all_locked(9), drm_... |
drm_modeset_unlock_all(9) | NAME drm_modeset_unlock_all - drop all modeset locks
SYNOPSIS void drm_modeset_unlock_all (struct drm_device *dev );
ARGUMENTS dev DRM device
DESCRIPTION This function drops all modeset locks taken by a previous call to the drm_modeset_lock_all function. This function is deprecated. It uses the lock acqu... |
drm_module_pci_driver(9) | NAME drm_module_pci_driver - Register a DRM driver for PCI-based devices
SYNOPSIS drm_module_pci_driver (__pci_drv );
ARGUMENTS __pci_drv the PCI driver structure
DESCRIPTION Registers a DRM driver for devices on the PCI bus. The helper macro behaves like module_pci_driver but tests the state of drm_firmware_driv... |
drm_module_pci_driver_if_modeset(9) | NAME drm_module_pci_driver_if_modeset - Register a DRM driver for PCI-based devices
SYNOPSIS drm_module_pci_driver_if_modeset (__pci_drv , __modeset );
ARGUMENTS __pci_drv the PCI driver structure
__modeset an additional parameter that disables the driver
DESCRIPTION This macro is deprecated and only pr... |
drm_module_platform_driver(9) | NAME drm_module_platform_driver - Register a DRM driver for platform devices
SYNOPSIS drm_module_platform_driver (__platform_drv );
ARGUMENTS __platform_drv the platform driver structure
DESCRIPTION Registers a DRM driver for devices on the platform bus. The helper macro behaves like module_platform_driver but te... |
drm_noop(9) | NAME drm_noop - DRM no-op ioctl implementation
SYNOPSIS int drm_noop (struct drm_device *dev , void *data , struct drm_file *file_priv );
ARGUMENTS dev DRM device for the ioctl
data data pointer for the ioctl
file_priv DRM file for the ioctl call
DESCRIPTION This no-op implementati... |
drm_object_attach_property(9) | NAME drm_object_attach_property - attach a property to a modeset object
SYNOPSIS void drm_object_attach_property (struct drm_mode_object *obj , struct drm_property *property , uint64_t init_val );
ARGUMENTS obj drm modeset object
property property to attach
init_val initial value of the ... |
drm_object_immutable_property_get_value(9) | NAME drm_object_immutable_property_get_value - retrieve the value of a property
SYNOPSIS int drm_object_immutable_property_get_value (struct drm_mode_object *obj , struct drm_property *property , uint64_t *val );
ARGUMENTS obj drm mode object to get property value from
property property to retrieve... |
drm_object_property_get_default_value(9) | NAME drm_object_property_get_default_value - retrieve the default value of a property when in atomic mode.
SYNOPSIS int drm_object_property_get_default_value (struct drm_mode_object *obj , struct drm_property *property , uint64_t *val );
ARGUMENTS obj drm mode object to get property value from
propert... |
drm_object_property_get_value(9) | NAME drm_object_property_get_value - retrieve the value of a property
SYNOPSIS int drm_object_property_get_value (struct drm_mode_object *obj , struct drm_property *property , uint64_t *val );
ARGUMENTS obj drm mode object to get property value from
property property to retrieve
val ... |
drm_object_property_set_value(9) | NAME drm_object_property_set_value - set the value of a property
SYNOPSIS int drm_object_property_set_value (struct drm_mode_object *obj , struct drm_property *property , uint64_t val );
ARGUMENTS obj drm mode object to set property value for
property property to set
val value the p... |
drm_of_component_match_add(9) | NAME drm_of_component_match_add - Add a component helper OF node match rule
SYNOPSIS void drm_of_component_match_add (struct device *master , struct component_match **matchptr , int (*compare)(struct device *, void *) , struct device_node *node );
ARGUMENTS master master device
matchptr component matc... |
drm_of_component_probe(9) | NAME drm_of_component_probe - Generic probe function for a component based master
SYNOPSIS int drm_of_component_probe (struct device *dev , int (*compare_of)(struct device *, void *) , const struct component_master_ops *m_ops );
ARGUMENTS dev master device containing the OF node
compare_of compare fu... |
drm_of_crtc_port_mask(9) | NAME drm_of_crtc_port_mask - find the mask of a registered CRTC by port OF node
SYNOPSIS uint32_t drm_of_crtc_port_mask (struct drm_device *dev , struct device_node *port );
ARGUMENTS dev DRM device
port port OF node
DESCRIPTION Given a port OF node, return the possible mask of the correspondi... |
drm_of_find_panel_or_bridge(9) | NAME drm_of_find_panel_or_bridge - return connected panel or bridge device
SYNOPSIS int drm_of_find_panel_or_bridge (const struct device_node *np , int port , int endpoint , struct drm_panel **panel , struct drm_bridge **bridge );
ARGUMENTS np device tree node containing encoder output ports
port ... |
drm_of_find_possible_crtcs(9) | NAME drm_of_find_possible_crtcs - find the possible CRTCs for an encoder port
SYNOPSIS uint32_t drm_of_find_possible_crtcs (struct drm_device *dev , struct device_node *port );
ARGUMENTS dev DRM device
port encoder port to scan for endpoints
DESCRIPTION Scan all endpoints attached to ... |
drm_of_get_data_lanes_count(9) | NAME drm_of_get_data_lanes_count - Get DSI/(e)DP data lane count
SYNOPSIS int drm_of_get_data_lanes_count (const struct device_node *endpoint , const unsigned int min , const unsigned int max );
ARGUMENTS endpoint DT endpoint node of the DSI/(e)DP source or sink
min minimum supported number of data... |
drm_of_get_data_lanes_count_ep(9) | NAME drm_of_get_data_lanes_count_ep - Get DSI/(e)DP data lane count by endpoint
SYNOPSIS int drm_of_get_data_lanes_count_ep (const struct device_node *port , int port_reg , int reg , const unsigned int min , const unsigned int max );
ARGUMENTS port DT port node of the DSI/(e)DP source or sink
port_reg ... |
drm_of_get_dsi_bus(9) | NAME drm_of_get_dsi_bus - find the DSI bus for a given device
SYNOPSIS struct mipi_dsi_host * drm_of_get_dsi_bus (struct device *dev );
ARGUMENTS dev parent device of display (SPI, I2C)
DESCRIPTION Gets parent DSI bus for a DSI device controlled through a bus other than MIPI-DCS (SPI, I2C, etc.) using the D... |
drm_of_lvds_get_data_mapping(9) | NAME drm_of_lvds_get_data_mapping - Get LVDS data mapping
SYNOPSIS int drm_of_lvds_get_data_mapping (const struct device_node *port );
ARGUMENTS port DT port node of the LVDS source or sink
DESCRIPTION Convert DT "data-mapping" property string value into media bus format value.
RETURN * MEDIA_BUS_FMT_RGB66... |
drm_of_lvds_get_dual_link_pixel_order(9) | NAME drm_of_lvds_get_dual_link_pixel_order - Get LVDS dual-link source pixel order
SYNOPSIS int drm_of_lvds_get_dual_link_pixel_order (const struct device_node *port1 , const struct device_node *port2 );
ARGUMENTS port1 First DT port node of the Dual-link LVDS source
port2 Second DT port node of t... |
drm_of_lvds_get_dual_link_pixel_order_sink(9) | NAME drm_of_lvds_get_dual_link_pixel_order_sink - Get LVDS dual-link sink pixel order
SYNOPSIS int drm_of_lvds_get_dual_link_pixel_order_sink (struct device_node *port1 , struct device_node *port2 );
ARGUMENTS port1 First DT port node of the Dual-link LVDS sink
port2 Second DT port node of the Dua... |
drm_open(9) | NAME drm_open - open method for DRM file
SYNOPSIS int drm_open (struct inode *inode , struct file *filp );
ARGUMENTS inode device inode
filp file pointer.
DESCRIPTION This function must be used by drivers as their file_operations.open method. It looks up the correct DRM device and instantiates ... |
drm_pagemap_acquire_owner(9) | NAME drm_pagemap_acquire_owner - Join an interconnect group
SYNOPSIS int drm_pagemap_acquire_owner (struct drm_pagemap_peer *peer , struct drm_pagemap_owner_list *owner_list , interconnect_fn has_interconnect );
ARGUMENTS peer A struct drm_pagemap_peer keeping track of the device interconnect
owner_lis... |
drm_pagemap_addr_encode(9) | NAME drm_pagemap_addr_encode - Encode a dma address with metadata
SYNOPSIS struct drm_pagemap_addr drm_pagemap_addr_encode (dma_addr_t addr , enum drm_interconnect_protocol proto , unsigned int order , enum dma_data_direction dir );
ARGUMENTS addr The dma address or driver-defined address for driver private in... |
drm_pagemap_cache_create_devm(9) | NAME drm_pagemap_cache_create_devm - Create a drm_pagemap_cache
SYNOPSIS struct drm_pagemap_cache * drm_pagemap_cache_create_devm (struct drm_pagemap_shrinker *shrinker );
ARGUMENTS shrinker Pointer to a struct drm_pagemap_shrinker.
DESCRIPTION Create a device-managed drm_pagemap cache. The cache is automatically... |
drm_pagemap_cache_lock_lookup(9) | NAME drm_pagemap_cache_lock_lookup - Lock a drm_pagemap_cache for lookup.
SYNOPSIS int drm_pagemap_cache_lock_lookup (struct drm_pagemap_cache *cache );
ARGUMENTS cache The drm_pagemap_cache to lock.
RETURN -EINTR if interrupted while blocking. 0 otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_pag... |
drm_pagemap_cache_set_pagemap(9) | NAME drm_pagemap_cache_set_pagemap - Assign a drm_pagemap to a drm_pagemap_cache
SYNOPSIS void drm_pagemap_cache_set_pagemap (struct drm_pagemap_cache *cache , struct drm_pagemap *dpagemap );
ARGUMENTS cache The cache to assign the drm_pagemap to.
dpagemap The drm_pagemap to assign.
DESCRIPTION The ... |
drm_pagemap_cache_unlock_lookup(9) | NAME drm_pagemap_cache_unlock_lookup - Unlock a drm_pagemap_cache after lookup.
SYNOPSIS void drm_pagemap_cache_unlock_lookup (struct drm_pagemap_cache *cache );
ARGUMENTS cache The drm_pagemap_cache to unlock.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_pagemap_util.c struct drm_pagemap_cache(9), ... |
drm_pagemap_devmem_init(9) | NAME drm_pagemap_devmem_init - Initialize a drm_pagemap device memory allocation
SYNOPSIS void drm_pagemap_devmem_init (struct drm_pagemap_devmem *devmem_allocation , struct device *dev , struct mm_struct *mm , const struct drm_pagemap_devmem_ops *ops , struct drm_pagemap *dpagemap , size_t size , struct dma_fen... |
drm_pagemap_evict_to_ram(9) | NAME drm_pagemap_evict_to_ram - Evict GPU SVM range to RAM
SYNOPSIS int drm_pagemap_evict_to_ram (struct drm_pagemap_devmem *devmem_allocation );
ARGUMENTS devmem_allocation Pointer to the device memory allocation
DESCRIPTION Similar to __drm_pagemap_migrate_to_ram but does not require mmap lock and migration done v... |
drm_pagemap_folio_free(9) | NAME drm_pagemap_folio_free - Put GPU SVM zone device data associated with a folio
SYNOPSIS void drm_pagemap_folio_free (struct folio *folio );
ARGUMENTS folio Pointer to the folio
DESCRIPTION This function is a callback used to put the GPU SVM zone device data associated with a page when it is being released.... |
drm_pagemap_get(9) | NAME drm_pagemap_get - Obtain a reference on a struct drm_pagemap
SYNOPSIS struct drm_pagemap * drm_pagemap_get (struct drm_pagemap *dpagemap );
ARGUMENTS dpagemap Pointer to the struct drm_pagemap, or NULL.
RETURN Pointer to the struct drm_pagemap, or NULL.
SEE ALSO Kernel file ./include/drm/drm_pagemap.h enu... |
drm_pagemap_get_devmem_page(9) | NAME drm_pagemap_get_devmem_page - Get a reference to a device memory page
SYNOPSIS void drm_pagemap_get_devmem_page (struct page *page , struct drm_pagemap_zdd *zdd );
ARGUMENTS page Pointer to the page
zdd Pointer to the GPU SVM zone device data
DESCRIPTION This function associates the given... |
drm_pagemap_get_from_cache(9) | NAME drm_pagemap_get_from_cache - Lookup of drm_pagemaps.
SYNOPSIS struct drm_pagemap * drm_pagemap_get_from_cache (struct drm_pagemap_cache *cache );
ARGUMENTS cache The cache used for lookup.
DESCRIPTION If an active pagemap is present in the cache, it is immediately returned. If an inactive pagemap is pres... |
drm_pagemap_get_from_cache_if_active(9) | NAME drm_pagemap_get_from_cache_if_active - Quick lookup of active drm_pagemaps
SYNOPSIS struct drm_pagemap * drm_pagemap_get_from_cache_if_active (struct drm_pagemap_cache *cache );
ARGUMENTS cache The cache to lookup from.
DESCRIPTION Function that should be used to lookup a drm_pagemap that is already activ... |
drm_pagemap_get_unless_zero(9) | NAME drm_pagemap_get_unless_zero - Obtain a reference on a struct drm_pagemap unless the current reference count is zero.
SYNOPSIS struct drm_pagemap * drm_pagemap_get_unless_zero (struct drm_pagemap *dpagemap );
ARGUMENTS dpagemap Pointer to the drm_pagemap or NULL.
RETURN A pointer to dpagemap if the reference ... |
drm_pagemap_init(9) | NAME drm_pagemap_init - Initialize a pre-allocated drm_pagemap
SYNOPSIS int drm_pagemap_init (struct drm_pagemap *dpagemap , struct dev_pagemap *pagemap , struct drm_device *drm , const struct drm_pagemap_ops *ops );
ARGUMENTS dpagemap The drm_pagemap to initialize.
pagemap The associated dev_pagemap p... |
drm_pagemap_migrate_map_pages(9) | NAME drm_pagemap_migrate_map_pages - Map migration pages for GPU SVM migration
SYNOPSIS int drm_pagemap_migrate_map_pages (struct device *dev , struct drm_pagemap *local_dpagemap , struct drm_pagemap_addr *pagemap_addr , unsigned long *migrate_pfn , unsigned long npages , enum dma_data_direction dir , const struct dr... |
drm_pagemap_migrate_populate_ram_pfn(9) | NAME drm_pagemap_migrate_populate_ram_pfn - Populate RAM PFNs for a VM area
SYNOPSIS int drm_pagemap_migrate_populate_ram_pfn (struct vm_area_struct *vas , struct page *fault_page , unsigned long npages , unsigned long *mpages , unsigned long *src_mpfn , unsigned long *mpfn , unsigned long addr );
ARGUMENTS vas ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.