id
stringlengths
4
63
text
stringlengths
153
8.81M
drm_sched_wqueue_stop(9)
NAME drm_sched_wqueue_stop - stop scheduler submission SYNOPSIS void drm_sched_wqueue_stop (struct drm_gpu_scheduler *sched ); ARGUMENTS sched scheduler instance DESCRIPTION Stops the scheduler from pulling new jobs from entities. It also stops freeing jobs automatically through drm_sched_backend_ops.free_job....
drm_self_refresh_helper_alter_state(9)
NAME drm_self_refresh_helper_alter_state - Alters the atomic state for SR exit SYNOPSIS void drm_self_refresh_helper_alter_state (struct drm_atomic_state *state ); ARGUMENTS state the state currently being checked DESCRIPTION Called at the end of atomic check. This function checks the state for flags incompa...
drm_self_refresh_helper_cleanup(9)
NAME drm_self_refresh_helper_cleanup - Cleans up self refresh helpers for a crtc SYNOPSIS void drm_self_refresh_helper_cleanup (struct drm_crtc *crtc ); ARGUMENTS crtc the crtc to cleanup SEE ALSO Kernel file ./drivers/gpu/drm/drm_self_refresh_helper.c Kernel API(9), drm_self_refresh_helper_update_avg_times(9...
drm_self_refresh_helper_init(9)
NAME drm_self_refresh_helper_init - Initializes self refresh helpers for a crtc SYNOPSIS int drm_self_refresh_helper_init (struct drm_crtc *crtc ); ARGUMENTS crtc the crtc which supports self refresh supported displays DESCRIPTION Returns zero if successful or -errno on failure SEE ALSO Kernel file ./drivers...
drm_self_refresh_helper_update_avg_times(9)
NAME drm_self_refresh_helper_update_avg_times - Updates a crtc's SR time averages SYNOPSIS void drm_self_refresh_helper_update_avg_times (struct drm_atomic_state *state , unsigned int commit_time_ms , unsigned int new_self_refresh_mask ); ARGUMENTS state the state which has just been applied to hardware ...
drm_send_event(9)
NAME drm_send_event - send DRM event to file descriptor SYNOPSIS void drm_send_event (struct drm_device *dev , struct drm_pending_event *e ); ARGUMENTS dev DRM device e DRM event to deliver DESCRIPTION This function sends the event e, initialized with drm_event_reserve_init, to its associ...
drm_send_event_locked(9)
NAME drm_send_event_locked - send DRM event to file descriptor SYNOPSIS void drm_send_event_locked (struct drm_device *dev , struct drm_pending_event *e ); ARGUMENTS dev DRM device e DRM event to deliver DESCRIPTION This function sends the event e, initialized with drm_event_reserve_init, ...
drm_send_event_timestamp_locked(9)
NAME drm_send_event_timestamp_locked - send DRM event to file descriptor SYNOPSIS void drm_send_event_timestamp_locked (struct drm_device *dev , struct drm_pending_event *e , ktime_t timestamp ); ARGUMENTS dev DRM device e DRM event to deliver timestamp timestamp to set for the fen...
drm_seq_file_printer(9)
NAME drm_seq_file_printer - construct a &drm_printer that outputs to &seq_file SYNOPSIS struct drm_printer drm_seq_file_printer (struct seq_file *f ); ARGUMENTS f the struct seq_file to output to RETURN The drm_printer object SEE ALSO Kernel file ./include/drm/drm_print.h Kernel API(9), enum drm_de...
drm_set_preferred_mode(9)
NAME drm_set_preferred_mode - Sets the preferred mode of a connector SYNOPSIS void drm_set_preferred_mode (struct drm_connector *connector , int hpref , int vpref ); ARGUMENTS connector connector whose mode list should be processed hpref horizontal resolution of preferred mode vpref vert...
drm_show_fdinfo(9)
NAME drm_show_fdinfo - helper for drm file fops SYNOPSIS void drm_show_fdinfo (struct seq_file *m , struct file *f ); ARGUMENTS m output stream f the device file instance DESCRIPTION Helper to implement fdinfo, for userspace to query usage stats, etc, of a process using the GPU. See also...
drm_show_memory_stats(9)
NAME drm_show_memory_stats - Helper to collect and show standard fdinfo memory stats SYNOPSIS void drm_show_memory_stats (struct drm_printer *p , struct drm_file *file ); ARGUMENTS p the printer to print output to file the DRM file DESCRIPTION Helper to iterate over GEM objects with a handle...
drm_simple_display_pipe_attach_bridge(9)
NAME drm_simple_display_pipe_attach_bridge - Attach a bridge to the display pipe SYNOPSIS int drm_simple_display_pipe_attach_bridge (struct drm_simple_display_pipe *pipe , struct drm_bridge *bridge ); ARGUMENTS pipe simple display pipe object bridge bridge to attach DESCRIPTION Makes it possible ...
drm_simple_display_pipe_init(9)
NAME drm_simple_display_pipe_init - Initialize a simple display pipeline SYNOPSIS int drm_simple_display_pipe_init (struct drm_device *dev , struct drm_simple_display_pipe *pipe , const struct drm_simple_display_pipe_funcs *funcs , const uint32_t *formats , unsigned int format_count , const uint64_t *format_modifie...
drm_simple_encoder_init(9)
NAME drm_simple_encoder_init - Initialize a preallocated encoder with basic functionality. SYNOPSIS int drm_simple_encoder_init (struct drm_device *dev , struct drm_encoder *encoder , int encoder_type ); ARGUMENTS dev drm device encoder the encoder to initialize encoder_type ...
drm_state_dump(9)
NAME drm_state_dump - dump entire device atomic state SYNOPSIS void drm_state_dump (struct drm_device *dev , struct drm_printer *p ); ARGUMENTS dev the drm device p where to print the state to DESCRIPTION Just for debugging. Drivers might want an option to dump state to dmesg ...
drm_suballoc_eoffset(9)
NAME drm_suballoc_eoffset - Range end. SYNOPSIS size_t drm_suballoc_eoffset (struct drm_suballoc *sa ); ARGUMENTS sa The struct drm_suballoc. RETURN The end of the allocated range + 1. SEE ALSO Kernel file ./include/drm/drm_suballoc.h struct drm_suballoc_manager(9), struct drm_suballoc(9), drm_suballoc_sof...
drm_suballoc_event(9)
NAME drm_suballoc_event - Check if we can stop waiting SYNOPSIS bool drm_suballoc_event (struct drm_suballoc_manager *sa_manager , size_t size , size_t align ); ARGUMENTS sa_manager pointer to the sa_manager size number of bytes we want to allocate align alignment we need to match RETUR...
drm_suballoc_free(9)
NAME drm_suballoc_free - Free a suballocation SYNOPSIS void drm_suballoc_free (struct drm_suballoc *suballoc , struct dma_fence *fence ); ARGUMENTS suballoc pointer to the suballocation fence fence that signals when suballocation is idle DESCRIPTION Free the suballocation. The suballocation can be r...
drm_suballoc_manager_fini(9)
NAME drm_suballoc_manager_fini - Destroy the drm_suballoc_manager SYNOPSIS void drm_suballoc_manager_fini (struct drm_suballoc_manager *sa_manager ); ARGUMENTS sa_manager pointer to the sa_manager DESCRIPTION Cleans up the suballocation manager after use. All fences added with drm_suballoc_free must be signaled, or...
drm_suballoc_manager_init(9)
NAME drm_suballoc_manager_init - Initialise the drm_suballoc_manager SYNOPSIS void drm_suballoc_manager_init (struct drm_suballoc_manager *sa_manager , size_t size , size_t align ); ARGUMENTS sa_manager pointer to the sa_manager size number of bytes we want to suballocate align alignment...
drm_suballoc_new(9)
NAME drm_suballoc_new - Make a suballocation. SYNOPSIS struct drm_suballoc * drm_suballoc_new (struct drm_suballoc_manager *sa_manager , size_t size , gfp_t gfp , bool intr , size_t align ); ARGUMENTS sa_manager pointer to the sa_manager size number of bytes we want to suballocate. gfp ...
drm_suballoc_size(9)
NAME drm_suballoc_size - Range size. SYNOPSIS size_t drm_suballoc_size (struct drm_suballoc *sa ); ARGUMENTS sa The struct drm_suballoc. RETURN The size of the allocated range. SEE ALSO Kernel file ./include/drm/drm_suballoc.h struct drm_suballoc_manager(9), struct drm_suballoc(9), drm_suballoc_soffset(9),...
drm_suballoc_soffset(9)
NAME drm_suballoc_soffset - Range start. SYNOPSIS size_t drm_suballoc_soffset (struct drm_suballoc *sa ); ARGUMENTS sa The struct drm_suballoc. RETURN The start of the allocated range. SEE ALSO Kernel file ./include/drm/drm_suballoc.h struct drm_suballoc_manager(9), struct drm_suballoc(9), drm_suballoc_eof...
drm_syncobj_add_point(9)
NAME drm_syncobj_add_point - add new timeline point to the syncobj SYNOPSIS void drm_syncobj_add_point (struct drm_syncobj *syncobj , struct dma_fence_chain *chain , struct dma_fence *fence , uint64_t point ); ARGUMENTS syncobj sync object to add timeline point do chain chain node to use to add the ...
drm_syncobj_assign_null_handle(9)
NAME drm_syncobj_assign_null_handle - assign a stub fence to the sync object SYNOPSIS int drm_syncobj_assign_null_handle (struct drm_syncobj *syncobj ); ARGUMENTS syncobj sync object to assign the fence on DESCRIPTION Assign a already signaled stub fence to the sync object. SEE ALSO Kernel file ./drivers/gpu/...
drm_syncobj_create(9)
NAME drm_syncobj_create - create a new syncobj SYNOPSIS int drm_syncobj_create (struct drm_syncobj **out_syncobj , uint32_t flags , struct dma_fence *fence ); ARGUMENTS out_syncobj returned syncobj flags DRM_SYNCOBJ_* flags fence if non-NULL, the syncobj will represent this fence DESCRIPT...
drm_syncobj_fence_get(9)
NAME drm_syncobj_fence_get - get a reference to a fence in a sync object SYNOPSIS struct dma_fence * drm_syncobj_fence_get (struct drm_syncobj *syncobj ); ARGUMENTS syncobj sync object. DESCRIPTION This acquires additional reference to drm_syncobj.fence contained in obj, if not NULL. It is illegal to call this w...
drm_syncobj_find(9)
NAME drm_syncobj_find - lookup and reference a sync object. SYNOPSIS struct drm_syncobj * drm_syncobj_find (struct drm_file *file_private , u32 handle ); ARGUMENTS file_private drm file private pointer handle sync object handle to lookup. DESCRIPTION Returns a reference to the syncobj pointed to by hand...
drm_syncobj_find_fence(9)
NAME drm_syncobj_find_fence - lookup and reference the fence in a sync object SYNOPSIS int drm_syncobj_find_fence (struct drm_file *file_private , u32 handle , u64 point , u64 flags , struct dma_fence **fence ); ARGUMENTS file_private drm file private pointer handle sync object handle to lookup. ...
drm_syncobj_free(9)
NAME drm_syncobj_free - free a sync object. SYNOPSIS void drm_syncobj_free (struct kref *kref ); ARGUMENTS kref kref to free. DESCRIPTION Only to be called from kref_put in drm_syncobj_put. SEE ALSO Kernel file ./drivers/gpu/drm/drm_syncobj.c Kernel API(9), drm_syncobj_find(9), drm_syncobj_add_point(9)...
drm_syncobj_get(9)
NAME drm_syncobj_get - acquire a syncobj reference SYNOPSIS void drm_syncobj_get (struct drm_syncobj *obj ); ARGUMENTS obj sync object DESCRIPTION This acquires an additional reference to obj. It is illegal to call this without already holding a reference. No locks required. SEE ALSO Kernel file ./include/d...
drm_syncobj_get_fd(9)
NAME drm_syncobj_get_fd - get a file descriptor from a syncobj SYNOPSIS int drm_syncobj_get_fd (struct drm_syncobj *syncobj , int *p_fd ); ARGUMENTS syncobj Sync object to export p_fd out parameter with the new file descriptor DESCRIPTION Exports a sync object created with drm_syncobj_create as a ...
drm_syncobj_get_handle(9)
NAME drm_syncobj_get_handle - get a handle from a syncobj SYNOPSIS int drm_syncobj_get_handle (struct drm_file *file_private , struct drm_syncobj *syncobj , u32 *handle ); ARGUMENTS file_private drm file private pointer syncobj Sync object to export handle out parameter with the new handle D...
drm_syncobj_open(9)
NAME drm_syncobj_open - initializes syncobj file-private structures at devnode open time SYNOPSIS void drm_syncobj_open (struct drm_file *file_private ); ARGUMENTS file_private drm file-private structure to set up DESCRIPTION Called at device open time, sets up the structure for handling refcounting of sync objects....
drm_syncobj_put(9)
NAME drm_syncobj_put - release a reference to a sync object. SYNOPSIS void drm_syncobj_put (struct drm_syncobj *obj ); ARGUMENTS obj sync object. SEE ALSO Kernel file ./include/drm/drm_syncobj.h struct drm_syncobj(9), drm_syncobj_get(9), drm_syncobj_fence_get(9) April 2026 ...
drm_syncobj_release(9)
NAME drm_syncobj_release - release file-private sync object resources SYNOPSIS void drm_syncobj_release (struct drm_file *file_private ); ARGUMENTS file_private drm file-private structure to clean up DESCRIPTION Called at close time when the filp is going away. Releases any remaining references on objects by this f...
drm_syncobj_replace_fence(9)
NAME drm_syncobj_replace_fence - replace fence in a sync object. SYNOPSIS void drm_syncobj_replace_fence (struct drm_syncobj *syncobj , struct dma_fence *fence ); ARGUMENTS syncobj Sync object to replace fence in fence fence to install in sync file. DESCRIPTION This replaces the fence on a sync obj...
drm_sysfb_build_fourcc_list(9)
NAME drm_sysfb_build_fourcc_list - Filters a list of supported color formats against the device's native formats SYNOPSIS size_t drm_sysfb_build_fourcc_list (struct drm_device *dev , const u32 *native_fourccs , size_t native_nfourccs , u32 *fourccs_out , size_t nfourccs_out ); ARGUMENTS dev DRM device ...
drm_sysfs_connector_hotplug_event(9)
NAME drm_sysfs_connector_hotplug_event - generate a DRM uevent for any connector change SYNOPSIS void drm_sysfs_connector_hotplug_event (struct drm_connector *connector ); ARGUMENTS connector connector which has changed DESCRIPTION Send a uevent for the DRM connector specified by connector. This will send a uevent...
drm_sysfs_connector_property_event(9)
NAME drm_sysfs_connector_property_event - generate a DRM uevent for connector property change SYNOPSIS void drm_sysfs_connector_property_event (struct drm_connector *connector , struct drm_property *property ); ARGUMENTS connector connector on which property changed property connector property which has ...
drm_sysfs_destroy(9)
NAME drm_sysfs_destroy - destroys DRM class SYNOPSIS void drm_sysfs_destroy (void ); ARGUMENTS void no arguments DESCRIPTION Destroy the DRM device class. SEE ALSO Kernel file ./drivers/gpu/drm/drm_sysfs.c Kernel API(9), drm_sysfs_init(9), drm_sysfs_hotplug_event(9), drm_sysfs_connector_hotplug_even...
drm_sysfs_hotplug_event(9)
NAME drm_sysfs_hotplug_event - generate a DRM uevent SYNOPSIS void drm_sysfs_hotplug_event (struct drm_device *dev ); ARGUMENTS dev DRM device DESCRIPTION Send a uevent for the DRM device specified by dev. Currently we only set HOTPLUG=1 in the uevent environment, but this could be expanded to...
drm_sysfs_init(9)
NAME drm_sysfs_init - initialize sysfs helpers SYNOPSIS int drm_sysfs_init (void ); ARGUMENTS void no arguments DESCRIPTION This is used to create the DRM class, which is the implicit parent of any other top-level DRM sysfs objects. You must call drm_sysfs_destroy to release the allocated resources. RETURN ...
drm_timeout_abs_to_jiffies(9)
NAME drm_timeout_abs_to_jiffies - calculate jiffies timeout from absolute value SYNOPSIS signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec ); ARGUMENTS timeout_nsec timeout nsec component in ns, 0 for poll DESCRIPTION Calculate the timeout in jiffies from an absolute time in sec/nsec. SEE ALSO Kernel fi...
drm_universal_plane_alloc(9)
NAME drm_universal_plane_alloc - Allocate and initialize an universal plane object SYNOPSIS drm_universal_plane_alloc (dev , type , member , possible_crtcs , funcs , formats , format_count , format_modifiers , plane_type , name , ... ); ARGUMENTS dev DRM device type the type of the struct which...
drm_universal_plane_init(9)
NAME drm_universal_plane_init - Initialize a new universal plane object SYNOPSIS int drm_universal_plane_init (struct drm_device *dev , struct drm_plane *plane , uint32_t possible_crtcs , const struct drm_plane_funcs *funcs , const uint32_t *formats , unsigned int format_count , const uint64_t *for‐ mat_modifiers , ...
drm_vblank_count_and_time(9)
NAME drm_vblank_count_and_time - retrieve "cooked" vblank counter value and the system timestamp corresponding to that vblank counter value. SYNOPSIS u64 drm_vblank_count_and_time (struct drm_device *dev , unsigned int pipe , ktime_t *vblanktime ); ARGUMENTS dev DRM device pipe index of CRTC wh...
drm_vblank_init(9)
NAME drm_vblank_init - initialize vblank support SYNOPSIS int drm_vblank_init (struct drm_device *dev , unsigned int num_crtcs ); ARGUMENTS dev DRM device num_crtcs number of CRTCs supported by dev DESCRIPTION This function initializes vblank support for num_crtcs display pipelines. Cleanup is han...
drm_vblank_work_cancel_sync(9)
NAME drm_vblank_work_cancel_sync - cancel a vblank work and wait for it to finish executing SYNOPSIS bool drm_vblank_work_cancel_sync (struct drm_vblank_work *work ); ARGUMENTS work vblank work to cancel DESCRIPTION Cancel an already scheduled vblank work and wait for its execution to finish. On return, work...
drm_vblank_work_flush(9)
NAME drm_vblank_work_flush - wait for a scheduled vblank work to finish executing SYNOPSIS void drm_vblank_work_flush (struct drm_vblank_work *work ); ARGUMENTS work vblank work to flush DESCRIPTION Wait until work has finished executing once. SEE ALSO Kernel file ./drivers/gpu/drm/drm_vblank_work.c Kernel A...
drm_vblank_work_flush_all(9)
NAME drm_vblank_work_flush_all - flush all currently pending vblank work on crtc. SYNOPSIS void drm_vblank_work_flush_all (struct drm_crtc *crtc ); ARGUMENTS crtc crtc for which vblank work to flush DESCRIPTION Wait until all currently queued vblank work on crtc has finished executing once. SEE ALSO Kernel f...
drm_vblank_work_init(9)
NAME drm_vblank_work_init - initialize a vblank work item SYNOPSIS void drm_vblank_work_init (struct drm_vblank_work *work , struct drm_crtc *crtc , void (*func)(struct kthread_work *work) ); ARGUMENTS work vblank work item crtc CRTC whose vblank will trigger the work execution func ...
drm_vblank_work_schedule(9)
NAME drm_vblank_work_schedule - schedule a vblank work SYNOPSIS int drm_vblank_work_schedule (struct drm_vblank_work *work , u64 count , bool nextonmiss ); ARGUMENTS work vblank work to schedule count target vblank count nextonmiss defer until the next vblank if target vblank was missed ...
drm_vma_node_allow(9)
NAME drm_vma_node_allow - Add open-file to list of allowed users SYNOPSIS int drm_vma_node_allow (struct drm_vma_offset_node *node , struct drm_file *tag ); ARGUMENTS node Node to modify tag Tag of file to remove DESCRIPTION Add tag to the list of allowed open-files for this node. If tag is al...
drm_vma_node_allow_once(9)
NAME drm_vma_node_allow_once - Add open-file to list of allowed users SYNOPSIS int drm_vma_node_allow_once (struct drm_vma_offset_node *node , struct drm_file *tag ); ARGUMENTS node Node to modify tag Tag of file to remove DESCRIPTION Add tag to the list of allowed open-files for this node....
drm_vma_node_is_allowed(9)
NAME drm_vma_node_is_allowed - Check whether an open-file is granted access SYNOPSIS bool drm_vma_node_is_allowed (struct drm_vma_offset_node *node , struct drm_file *tag ); ARGUMENTS node Node to check tag Tag of file to remove DESCRIPTION Search the list in node whether tag is currently on t...
drm_vma_node_offset_addr(9)
NAME drm_vma_node_offset_addr - Return sanitized offset for user-space mmaps SYNOPSIS __u64 drm_vma_node_offset_addr (struct drm_vma_offset_node *node ); ARGUMENTS node Linked offset node DESCRIPTION Same as drm_vma_node_start but returns the address as a valid offset that can be used for user-space mappings ...
drm_vma_node_reset(9)
NAME drm_vma_node_reset - Initialize or reset node object SYNOPSIS void drm_vma_node_reset (struct drm_vma_offset_node *node ); ARGUMENTS node Node to initialize or reset DESCRIPTION Reset a node to its initial state. This must be called before using it with any VMA offset manager. This must not be called on...
drm_vma_node_revoke(9)
NAME drm_vma_node_revoke - Remove open-file from list of allowed users SYNOPSIS void drm_vma_node_revoke (struct drm_vma_offset_node *node , struct drm_file *tag ); ARGUMENTS node Node to modify tag Tag of file to remove DESCRIPTION Decrement the ref-count of tag in the list of allowed ope...
drm_vma_node_size(9)
NAME drm_vma_node_size - Return size (page-based) SYNOPSIS unsigned long drm_vma_node_size (struct drm_vma_offset_node *node ); ARGUMENTS node Node to inspect DESCRIPTION Return the size as number of pages for the given node. This is the same size that was passed to drm_vma_offset_add. If no offset is allocat...
drm_vma_node_start(9)
NAME drm_vma_node_start - Return start address for page-based addressing SYNOPSIS unsigned long drm_vma_node_start (const struct drm_vma_offset_node *node ); ARGUMENTS node Node to inspect DESCRIPTION Return the start address of the given node. This can be used as offset into the linear VM space that is pro...
drm_vma_node_unmap(9)
NAME drm_vma_node_unmap - Unmap offset node SYNOPSIS void drm_vma_node_unmap (struct drm_vma_offset_node *node , struct address_space *file_mapping ); ARGUMENTS node Offset node file_mapping Address space to unmap node from DESCRIPTION Unmap all userspace mappings for a given ...
drm_vma_node_verify_access(9)
NAME drm_vma_node_verify_access - Access verification helper for TTM SYNOPSIS int drm_vma_node_verify_access (struct drm_vma_offset_node *node , struct drm_file *tag ); ARGUMENTS node Offset node tag Tag of file to check DESCRIPTION This checks whether tag is granted access to node. It is the ...
drm_vma_offset_add(9)
NAME drm_vma_offset_add - Add offset node to manager SYNOPSIS int drm_vma_offset_add (struct drm_vma_offset_manager *mgr , struct drm_vma_offset_node *node , unsigned long pages ); ARGUMENTS mgr Manager object node Node to be added pages Allocation size visible to user-space (in n...
drm_vma_offset_exact_lookup_locked(9)
NAME drm_vma_offset_exact_lookup_locked - Look up node by exact address SYNOPSIS struct drm_vma_offset_node * drm_vma_offset_exact_lookup_locked (struct drm_vma_offset_manager *mgr , unsigned long start , unsigned long pages ); ARGUMENTS mgr Manager object start Start address (page-based, not by...
drm_vma_offset_lock_lookup(9)
NAME drm_vma_offset_lock_lookup - Lock lookup for extended private use SYNOPSIS void drm_vma_offset_lock_lookup (struct drm_vma_offset_manager *mgr ); ARGUMENTS mgr Manager object DESCRIPTION Lock VMA manager for extended lookups. Only locked VMA function calls are allowed while holding this lock. All other...
drm_vma_offset_lookup_locked(9)
NAME drm_vma_offset_lookup_locked - Find node in offset space SYNOPSIS struct drm_vma_offset_node * drm_vma_offset_lookup_locked (struct drm_vma_offset_manager *mgr , unsigned long start , unsigned long pages ); ARGUMENTS mgr Manager object start Start address for object (page-based) pag...
drm_vma_offset_manager_destroy(9)
NAME drm_vma_offset_manager_destroy - Destroy offset manager SYNOPSIS void drm_vma_offset_manager_destroy (struct drm_vma_offset_manager *mgr ); ARGUMENTS mgr Manager object DESCRIPTION Destroy an object manager which was previously created via drm_vma_offset_manager_init. The caller must remove all allo...
drm_vma_offset_manager_init(9)
NAME drm_vma_offset_manager_init - Initialize new offset-manager SYNOPSIS void drm_vma_offset_manager_init (struct drm_vma_offset_manager *mgr , unsigned long page_offset , unsigned long size ); ARGUMENTS mgr Manager object page_offset Offset of available memory area (page-based) size S...
drm_vma_offset_remove(9)
NAME drm_vma_offset_remove - Remove offset node from manager SYNOPSIS void drm_vma_offset_remove (struct drm_vma_offset_manager *mgr , struct drm_vma_offset_node *node ); ARGUMENTS mgr Manager object node Node to be removed DESCRIPTION Remove a node from the offset manager. If the node wasn't...
drm_vma_offset_unlock_lookup(9)
NAME drm_vma_offset_unlock_lookup - Unlock lookup for extended private use SYNOPSIS void drm_vma_offset_unlock_lookup (struct drm_vma_offset_manager *mgr ); ARGUMENTS mgr Manager object DESCRIPTION Release lookup-lock. See drm_vma_offset_lock_lookup for more information. SEE ALSO Kernel file ./include/d...
drm_vprintf(9)
NAME drm_vprintf - print to a &drm_printer stream SYNOPSIS void drm_vprintf (struct drm_printer *p , const char *fmt , va_list *va ); ARGUMENTS p the drm_printer fmt format string va the va_list SEE ALSO Kernel file ./include/drm/drm_print.h Kernel API(9), enum drm_de...
drm_vram_helper_mode_valid(9)
NAME drm_vram_helper_mode_valid - Tests if a display mode's framebuffer fits into the available video memory. SYNOPSIS enum drm_mode_status drm_vram_helper_mode_valid (struct drm_device *dev , const struct drm_display_mode *mode ); ARGUMENTS dev the DRM device mode the mode to test DESCRIPTION...
drm_vram_mm_debugfs_init(9)
NAME drm_vram_mm_debugfs_init - Register VRAM MM debugfs file. SYNOPSIS void drm_vram_mm_debugfs_init (struct drm_minor *minor ); ARGUMENTS minor drm minor device. SEE ALSO Kernel file ./drivers/gpu/drm/drm_gem_vram_helper.c Kernel API(9), drm_gem_vram_create(9), drm_gem_vram_put(9), drm_gem_vram_offset(...
drm_vram_mm_of_bdev(9)
NAME drm_vram_mm_of_bdev - Returns the container of type &struct ttm_device for field bdev. SYNOPSIS struct drm_vram_mm * drm_vram_mm_of_bdev (struct ttm_device *bdev ); ARGUMENTS bdev the TTM BO device RETURN The containing instance of struct drm_vram_mm SEE ALSO Kernel file ./include/drm/drm_gem_vram_helpe...
drm_warn_on_modeset_not_all_locked(9)
NAME drm_warn_on_modeset_not_all_locked - check that all modeset locks are locked SYNOPSIS void drm_warn_on_modeset_not_all_locked (struct drm_device *dev ); ARGUMENTS dev device DESCRIPTION Useful as a debug assert. SEE ALSO Kernel file ./drivers/gpu/drm/drm_modeset_lock.c Kernel API(9), drm_modeset_loc...
drm_writeback_connector_cleanup(9)
NAME drm_writeback_connector_cleanup - Cleanup the writeback connector SYNOPSIS void drm_writeback_connector_cleanup (struct drm_device *dev , void *data ); ARGUMENTS dev DRM device data Pointer to the writeback connector to clean up DESCRIPTION This will decrement the reference counter of blo...
drm_writeback_connector_init(9)
NAME drm_writeback_connector_init - Initialize a writeback connector and its properties SYNOPSIS int drm_writeback_connector_init (struct drm_device *dev , struct drm_writeback_connector *wb_connector , const struct drm_connector_funcs *con_funcs , const struct drm_encoder_helper_funcs *enc_helper_funcs , const u32 ...
drm_writeback_connector_init_with_encoder(9)
NAME drm_writeback_connector_init_with_encoder - Initialize a writeback connector with a custom encoder SYNOPSIS int drm_writeback_connector_init_with_encoder (struct drm_device *dev , struct drm_writeback_connector *wb_connector , struct drm_encoder *enc , const struct drm_connector_funcs *con_funcs , const u32...
drm_writeback_queue_job(9)
NAME drm_writeback_queue_job - Queue a writeback job for later signalling SYNOPSIS void drm_writeback_queue_job (struct drm_writeback_connector *wb_connector , struct drm_connector_state *conn_state ); ARGUMENTS wb_connector The writeback connector to queue a job on conn_state The connector state containing ...
drm_writeback_signal_completion(9)
NAME drm_writeback_signal_completion - Signal the completion of a writeback job SYNOPSIS void drm_writeback_signal_completion (struct drm_writeback_connector *wb_connector , int status ); ARGUMENTS wb_connector The writeback connector whose job is complete status Status code to set in the writeback out_f...
drmm_add_action(9)
NAME drmm_add_action - add a managed release action to a &drm_device SYNOPSIS drmm_add_action (dev , action , data ); ARGUMENTS dev DRM device action function which should be called when dev is released data opaque pointer, passed to action DESCRIPTION This function adds the relea...
drmm_add_action_or_reset(9)
NAME drmm_add_action_or_reset - add a managed release action to a &drm_device SYNOPSIS drmm_add_action_or_reset (dev , action , data ); ARGUMENTS dev DRM device action function which should be called when dev is released data opaque pointer, passed to action DESCRIPTION Similar to...
drmm_alloc_ordered_workqueue(9)
NAME drmm_alloc_ordered_workqueue - &drm_device managed alloc_ordered_workqueue() SYNOPSIS drmm_alloc_ordered_workqueue (dev , fmt , flags , args... ); ARGUMENTS dev DRM device fmt printf format for the name of the workqueue flags WQ_* flags (only WQ_FREEZABLE and WQ_MEM_RECLAIM ...
drmm_cgroup_register_region(9)
NAME drmm_cgroup_register_region - Register a region of a DRM device to cgroups SYNOPSIS struct dmem_cgroup_region * drmm_cgroup_register_region (struct drm_device *dev , const char *region_name , u64 size ); ARGUMENTS dev device for region region_name Region name for registering size S...
drmm_connector_hdmi_init(9)
NAME drmm_connector_hdmi_init - Init a preallocated HDMI connector SYNOPSIS int drmm_connector_hdmi_init (struct drm_device *dev , struct drm_connector *connector , const char *vendor , const char *product , const struct drm_connector_funcs *funcs , const struct drm_connector_hdmi_funcs *hdmi_funcs , int con...
drmm_connector_init(9)
NAME drmm_connector_init - Init a preallocated connector SYNOPSIS int drmm_connector_init (struct drm_device *dev , struct drm_connector *connector , const struct drm_connector_funcs *funcs , int connector_type , struct i2c_adapter *ddc ); ARGUMENTS dev DRM device connector the connector to init ...
drmm_crtc_alloc_with_planes(9)
NAME drmm_crtc_alloc_with_planes - Allocate and initialize a new CRTC object with specified primary and cursor planes. SYNOPSIS drmm_crtc_alloc_with_planes (dev , type , member , primary , cursor , funcs , name , ... ); ARGUMENTS dev DRM device type the type of the struct which contains struct ...
drmm_crtc_init_with_planes(9)
NAME drmm_crtc_init_with_planes - Initialise a new CRTC object with specified primary and cursor planes. SYNOPSIS int drmm_crtc_init_with_planes (struct drm_device *dev , struct drm_crtc *crtc , struct drm_plane *primary , struct drm_plane *cursor , const struct drm_crtc_funcs *funcs , const char *name , ... ); ARGUM...
drmm_encoder_alloc(9)
NAME drmm_encoder_alloc - Allocate and initialize an encoder SYNOPSIS drmm_encoder_alloc (dev , type , member , funcs , encoder_type , name , ... ); ARGUMENTS dev drm device type the type of the struct which contains struct drm_encoder member the name of the drm_encoder within type...
drmm_encoder_init(9)
NAME drmm_encoder_init - Initialize a preallocated encoder SYNOPSIS int drmm_encoder_init (struct drm_device *dev , struct drm_encoder *encoder , const struct drm_encoder_funcs *funcs , int encoder_type , const char *name , ... ); ARGUMENTS dev drm device encoder the encoder to init funcs ...
drmm_kcalloc(9)
NAME drmm_kcalloc - &drm_device managed kcalloc() SYNOPSIS void * drmm_kcalloc (struct drm_device *dev , size_t n , size_t size , gfp_t flags ); ARGUMENTS dev DRM device n number of array elements to allocate size size of array member flags GFP allocation flags ...
drmm_kfree(9)
NAME drmm_kfree - &drm_device managed kfree() SYNOPSIS void drmm_kfree (struct drm_device *dev , void *data ); ARGUMENTS dev DRM device data memory allocation to be freed DESCRIPTION This is a drm_device managed version of kfree which can be used to release memory allocated through drmm_kmallo...
drmm_kmalloc(9)
NAME drmm_kmalloc - &drm_device managed kmalloc() SYNOPSIS void * drmm_kmalloc (struct drm_device *dev , size_t size , gfp_t gfp ); ARGUMENTS dev DRM device size size of the memory allocation gfp GFP allocation flags DESCRIPTION This is a drm_device managed version of kmalloc. ...
drmm_kmalloc_array(9)
NAME drmm_kmalloc_array - &drm_device managed kmalloc_array() SYNOPSIS void * drmm_kmalloc_array (struct drm_device *dev , size_t n , size_t size , gfp_t flags ); ARGUMENTS dev DRM device n number of array elements to allocate size size of array member flags GFP ...
drmm_kms_helper_poll_init(9)
NAME drmm_kms_helper_poll_init - initialize and enable output polling SYNOPSIS void drmm_kms_helper_poll_init (struct drm_device *dev ); ARGUMENTS dev drm_device DESCRIPTION This function initializes and then also enables output polling support for dev similar to drm_kms_helper_poll_init. Polling will automa...
drmm_kstrdup(9)
NAME drmm_kstrdup - &drm_device managed kstrdup() SYNOPSIS char * drmm_kstrdup (struct drm_device *dev , const char *s , gfp_t gfp ); ARGUMENTS dev DRM device s 0-terminated string to be duplicated gfp GFP allocation flags DESCRIPTION This is a drm_device managed version of ...
drmm_kzalloc(9)
NAME drmm_kzalloc - &drm_device managed kzalloc() SYNOPSIS void * drmm_kzalloc (struct drm_device *dev , size_t size , gfp_t gfp ); ARGUMENTS dev DRM device size size of the memory allocation gfp GFP allocation flags DESCRIPTION This is a drm_device managed version of kzalloc. ...
drmm_mode_config_init(9)
NAME drmm_mode_config_init - managed DRM mode_configuration structure initialization SYNOPSIS int drmm_mode_config_init (struct drm_device *dev ); ARGUMENTS dev DRM device DESCRIPTION Initialize dev's mode_config structure, used for tracking the graphics configuration of dev. Since this initializes the mod...