id
stringlengths
4
63
text
stringlengths
153
8.81M
drm_atomic_get_new_plane_state(9)
NAME drm_atomic_get_new_plane_state - get plane state, if it exists SYNOPSIS struct drm_plane_state * drm_atomic_get_new_plane_state (const struct drm_atomic_state *state , struct drm_plane *plane ); ARGUMENTS state global atomic state object plane plane to grab DESCRIPTION This function returns ...
drm_atomic_get_new_private_obj_state(9)
NAME drm_atomic_get_new_private_obj_state - SYNOPSIS struct drm_private_state * drm_atomic_get_new_private_obj_state (const struct drm_atomic_state *state , struct drm_private_obj *obj ); ARGUMENTS state global atomic state object obj private_obj to grab DESCRIPTION This function returns the ne...
drm_atomic_get_old_bridge_state(9)
NAME drm_atomic_get_old_bridge_state - get old bridge state, if it exists SYNOPSIS struct drm_bridge_state * drm_atomic_get_old_bridge_state (const struct drm_atomic_state *state , struct drm_bridge *bridge ); ARGUMENTS state global atomic state object bridge bridge to grab DESCRIPTION This functi...
drm_atomic_get_old_colorop_state(9)
NAME drm_atomic_get_old_colorop_state - get colorop state, if it exists SYNOPSIS struct drm_colorop_state * drm_atomic_get_old_colorop_state (struct drm_atomic_state *state , struct drm_colorop *colorop ); ARGUMENTS state global atomic state object colorop colorop to grab DESCRIPTION This function ...
drm_atomic_get_old_connector_for_encoder(9)
NAME drm_atomic_get_old_connector_for_encoder - Get old connector for an encoder SYNOPSIS struct drm_connector * drm_atomic_get_old_connector_for_encoder (const struct drm_atomic_state *state , struct drm_encoder *encoder ); ARGUMENTS state Atomic state encoder The encoder to fetch the connector sta...
drm_atomic_get_old_connector_state(9)
NAME drm_atomic_get_old_connector_state - get connector state, if it exists SYNOPSIS struct drm_connector_state * drm_atomic_get_old_connector_state (const struct drm_atomic_state *state , struct drm_connector *connector ); ARGUMENTS state global atomic state object connector connector to grab DESCRI...
drm_atomic_get_old_crtc_for_encoder(9)
NAME drm_atomic_get_old_crtc_for_encoder - Get old crtc for an encoder SYNOPSIS struct drm_crtc * drm_atomic_get_old_crtc_for_encoder (struct drm_atomic_state *state , struct drm_encoder *encoder ); ARGUMENTS state Atomic state encoder The encoder to fetch the crtc state for DESCRIPTION This functi...
drm_atomic_get_old_crtc_state(9)
NAME drm_atomic_get_old_crtc_state - get old CRTC state, if it exists SYNOPSIS struct drm_crtc_state * drm_atomic_get_old_crtc_state (const struct drm_atomic_state *state , struct drm_crtc *crtc ); ARGUMENTS state global atomic state object crtc CRTC to grab DESCRIPTION This function returns the...
drm_atomic_get_old_mst_topology_state(9)
NAME drm_atomic_get_old_mst_topology_state - get old MST topology state in atomic state, if any SYNOPSIS struct drm_dp_mst_topology_state * drm_atomic_get_old_mst_topology_state (struct drm_atomic_state *state , struct drm_dp_mst_topology_mgr *mgr ); ARGUMENTS state global atomic state mgr MST t...
drm_atomic_get_old_plane_state(9)
NAME drm_atomic_get_old_plane_state - get plane state, if it exists SYNOPSIS struct drm_plane_state * drm_atomic_get_old_plane_state (const struct drm_atomic_state *state , struct drm_plane *plane ); ARGUMENTS state global atomic state object plane plane to grab DESCRIPTION This function returns ...
drm_atomic_get_old_private_obj_state(9)
NAME drm_atomic_get_old_private_obj_state - SYNOPSIS struct drm_private_state * drm_atomic_get_old_private_obj_state (const struct drm_atomic_state *state , struct drm_private_obj *obj ); ARGUMENTS state global atomic state object obj private_obj to grab DESCRIPTION This function returns the ol...
drm_atomic_get_plane_state(9)
NAME drm_atomic_get_plane_state - get plane state SYNOPSIS struct drm_plane_state * drm_atomic_get_plane_state (struct drm_atomic_state *state , struct drm_plane *plane ); ARGUMENTS state global atomic state object plane plane to get state object for DESCRIPTION This function returns the plane st...
drm_atomic_get_private_obj_state(9)
NAME drm_atomic_get_private_obj_state - get private object state SYNOPSIS struct drm_private_state * drm_atomic_get_private_obj_state (struct drm_atomic_state *state , struct drm_private_obj *obj ); ARGUMENTS state global atomic state obj private object to get the state for DESCRIPTION This fun...
drm_atomic_helper_async_check(9)
NAME drm_atomic_helper_async_check - check if state can be committed asynchronously SYNOPSIS int drm_atomic_helper_async_check (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state the driver state object DESCRIPTION This helper will check if it is possible ...
drm_atomic_helper_async_commit(9)
NAME drm_atomic_helper_async_commit - commit state asynchronously SYNOPSIS void drm_atomic_helper_async_commit (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state the driver state object DESCRIPTION This function commits a state asynchronously, i.e., not ...
drm_atomic_helper_bridge_destroy_state(9)
NAME drm_atomic_helper_bridge_destroy_state - Destroy a bridge state object SYNOPSIS void drm_atomic_helper_bridge_destroy_state (struct drm_bridge *bridge , struct drm_bridge_state *state ); ARGUMENTS bridge the bridge this state refers to state bridge state to destroy DESCRIPTION Destroys a br...
drm_atomic_helper_bridge_duplicate_state(9)
NAME drm_atomic_helper_bridge_duplicate_state - Duplicate a bridge state object SYNOPSIS struct drm_bridge_state * drm_atomic_helper_bridge_duplicate_state (struct drm_bridge *bridge ); ARGUMENTS bridge bridge object DESCRIPTION Allocates a new bridge state and initializes it with the current bridge state value...
drm_atomic_helper_bridge_propagate_bus_fmt(9)
NAME drm_atomic_helper_bridge_propagate_bus_fmt - Propagate output format to the input end of a bridge SYNOPSIS u32 * drm_atomic_helper_bridge_propagate_bus_fmt (struct drm_bridge *bridge , struct drm_bridge_state *bridge_state , struct drm_crtc_state *crtc_state , struct drm_connector_state *conn_state , u32 output_...
drm_atomic_helper_bridge_reset(9)
NAME drm_atomic_helper_bridge_reset - Allocate and initialize a bridge state to its default SYNOPSIS struct drm_bridge_state * drm_atomic_helper_bridge_reset (struct drm_bridge *bridge ); ARGUMENTS bridge the bridge this state refers to DESCRIPTION Allocates the bridge state and initializes it to default values...
drm_atomic_helper_calc_timestamping_constants(9)
NAME drm_atomic_helper_calc_timestamping_constants - update vblank timestamping constants SYNOPSIS void drm_atomic_helper_calc_timestamping_constants (struct drm_atomic_state *state ); ARGUMENTS state atomic state object DESCRIPTION Updates the timestamping constants used for precise vblank timestamps by calli...
drm_atomic_helper_check(9)
NAME drm_atomic_helper_check - validate state object SYNOPSIS int drm_atomic_helper_check (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state the driver state object DESCRIPTION Check the state object to see if the requested state is physically possibl...
drm_atomic_helper_check_crtc_primary_plane(9)
NAME drm_atomic_helper_check_crtc_primary_plane - Check CRTC state for primary plane SYNOPSIS int drm_atomic_helper_check_crtc_primary_plane (struct drm_crtc_state *crtc_state ); ARGUMENTS crtc_state CRTC state to check DESCRIPTION Checks that a CRTC has at least one primary plane attached to it, which is a requ...
drm_atomic_helper_check_modeset(9)
NAME drm_atomic_helper_check_modeset - validate state object for modeset changes SYNOPSIS int drm_atomic_helper_check_modeset (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state the driver state object DESCRIPTION Check the state object to see if the requ...
drm_atomic_helper_check_plane_damage(9)
NAME drm_atomic_helper_check_plane_damage - Verify plane damage on atomic_check. SYNOPSIS void drm_atomic_helper_check_plane_damage (struct drm_atomic_state *state , struct drm_plane_state *plane_state ); ARGUMENTS state The driver state object. plane_state Plane state for which to verify damage. DESCR...
drm_atomic_helper_check_plane_state(9)
NAME drm_atomic_helper_check_plane_state - Check plane state for validity SYNOPSIS int drm_atomic_helper_check_plane_state (struct drm_plane_state *plane_state , const struct drm_crtc_state *crtc_state , int min_scale , int max_scale , bool can_position , bool can_update_disabled ); ARGUMENTS plane_state plane state ...
drm_atomic_helper_check_planes(9)
NAME drm_atomic_helper_check_planes - validate state object for planes changes SYNOPSIS int drm_atomic_helper_check_planes (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state the driver state object DESCRIPTION Check the state object to see if ...
drm_atomic_helper_check_wb_connector_state(9)
NAME drm_atomic_helper_check_wb_connector_state - Check writeback connector state SYNOPSIS int drm_atomic_helper_check_wb_connector_state (struct drm_connector *connector , struct drm_atomic_state *state ); ARGUMENTS connector corresponding connector state the driver state object DESCRIPTION Checks i...
drm_atomic_helper_cleanup_planes(9)
NAME drm_atomic_helper_cleanup_planes - cleanup plane resources after commit SYNOPSIS void drm_atomic_helper_cleanup_planes (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object being committed DESCRIPTION This function cleans up plane s...
drm_atomic_helper_commit(9)
NAME drm_atomic_helper_commit - commit validated state object SYNOPSIS int drm_atomic_helper_commit (struct drm_device *dev , struct drm_atomic_state *state , bool nonblock ); ARGUMENTS dev DRM device state the driver state object nonblock whether nonblocking behavior is requested. D...
drm_atomic_helper_commit_cleanup_done(9)
NAME drm_atomic_helper_commit_cleanup_done - signal completion of commit SYNOPSIS void drm_atomic_helper_commit_cleanup_done (struct drm_atomic_state *state ); ARGUMENTS state atomic state object being committed DESCRIPTION This signals completion of the atomic update state, including any cleanup work. If used...
drm_atomic_helper_commit_crtc_disable(9)
NAME drm_atomic_helper_commit_crtc_disable - disable CRTSs SYNOPSIS void drm_atomic_helper_commit_crtc_disable (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state the driver state object DESCRIPTION Loops over all CRTCs in the current state and if the CRTC...
drm_atomic_helper_commit_crtc_enable(9)
NAME drm_atomic_helper_commit_crtc_enable - enables the CRTCs SYNOPSIS void drm_atomic_helper_commit_crtc_enable (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object being committed DESCRIPTION This loops over CRTCs in the new state, and...
drm_atomic_helper_commit_crtc_set_mode(9)
NAME drm_atomic_helper_commit_crtc_set_mode - set the new mode SYNOPSIS void drm_atomic_helper_commit_crtc_set_mode (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state the driver state object DESCRIPTION Loops over all connectors in the current state and i...
drm_atomic_helper_commit_duplicated_state(9)
NAME drm_atomic_helper_commit_duplicated_state - commit duplicated state SYNOPSIS int drm_atomic_helper_commit_duplicated_state (struct drm_atomic_state *state , struct drm_modeset_acquire_ctx *ctx ); ARGUMENTS state duplicated atomic state to commit ctx pointer to acquire_ctx to use for commit....
drm_atomic_helper_commit_encoder_bridge_disable(9)
NAME drm_atomic_helper_commit_encoder_bridge_disable - disable bridges and encoder SYNOPSIS void drm_atomic_helper_commit_encoder_bridge_disable (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state the driver state object DESCRIPTION Loops over all connecto...
drm_atomic_helper_commit_encoder_bridge_enable(9)
NAME drm_atomic_helper_commit_encoder_bridge_enable - enables the bridges SYNOPSIS void drm_atomic_helper_commit_encoder_bridge_enable (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object being committed DESCRIPTION This loops over all c...
drm_atomic_helper_commit_encoder_bridge_post_disable(9)
NAME drm_atomic_helper_commit_encoder_bridge_post_disable - post-disable encoder bridges SYNOPSIS void drm_atomic_helper_commit_encoder_bridge_post_disable (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state the driver state object DESCRIPTION Loops over a...
drm_atomic_helper_commit_encoder_bridge_pre_enable(9)
NAME drm_atomic_helper_commit_encoder_bridge_pre_enable - pre-enable bridges SYNOPSIS void drm_atomic_helper_commit_encoder_bridge_pre_enable (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object being committed DESCRIPTION This loops ove...
drm_atomic_helper_commit_hw_done(9)
NAME drm_atomic_helper_commit_hw_done - setup possible nonblocking commit SYNOPSIS void drm_atomic_helper_commit_hw_done (struct drm_atomic_state *state ); ARGUMENTS state atomic state object being committed DESCRIPTION This function is used to signal completion of the hardware commit step. After this step t...
drm_atomic_helper_commit_modeset_disables(9)
NAME drm_atomic_helper_commit_modeset_disables - modeset commit to disable outputs SYNOPSIS void drm_atomic_helper_commit_modeset_disables (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object being committed DESCRIPTION This function s...
drm_atomic_helper_commit_modeset_enables(9)
NAME drm_atomic_helper_commit_modeset_enables - modeset commit to enable outputs SYNOPSIS void drm_atomic_helper_commit_modeset_enables (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object being committed DESCRIPTION This function enable...
drm_atomic_helper_commit_planes(9)
NAME drm_atomic_helper_commit_planes - commit plane state SYNOPSIS void drm_atomic_helper_commit_planes (struct drm_device *dev , struct drm_atomic_state *state , uint32_t flags ); ARGUMENTS dev DRM device state atomic state object being committed flags flags for committing plane s...
drm_atomic_helper_commit_planes_on_crtc(9)
NAME drm_atomic_helper_commit_planes_on_crtc - commit plane state for a CRTC SYNOPSIS void drm_atomic_helper_commit_planes_on_crtc (struct drm_crtc_state *old_crtc_state ); ARGUMENTS old_crtc_state atomic state object with the old CRTC state DESCRIPTION This function commits the new plane state using the plane ...
drm_atomic_helper_commit_tail(9)
NAME drm_atomic_helper_commit_tail - commit atomic update to hardware SYNOPSIS void drm_atomic_helper_commit_tail (struct drm_atomic_state *state ); ARGUMENTS state atomic state object being committed DESCRIPTION This is the default implementation for the drm_mode_config_helper_funcs.atomic_commit_tail ...
drm_atomic_helper_commit_tail_rpm(9)
NAME drm_atomic_helper_commit_tail_rpm - commit atomic update to hardware SYNOPSIS void drm_atomic_helper_commit_tail_rpm (struct drm_atomic_state *state ); ARGUMENTS state new modeset state to be committed DESCRIPTION This is an alternative implementation for the drm_mode_config_helper_funcs.atomic_commit_tai...
drm_atomic_helper_commit_writebacks(9)
NAME drm_atomic_helper_commit_writebacks - issue writebacks SYNOPSIS void drm_atomic_helper_commit_writebacks (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object being committed DESCRIPTION This loops over the connectors, checks if the ...
drm_atomic_helper_connector_destroy_state(9)
NAME drm_atomic_helper_connector_destroy_state - default state destroy hook SYNOPSIS void drm_atomic_helper_connector_destroy_state (struct drm_connector *connector , struct drm_connector_state *state ); ARGUMENTS connector drm connector state connector state object to release DESCRIPTION Default con...
drm_atomic_helper_connector_duplicate_state(9)
NAME drm_atomic_helper_connector_duplicate_state - default state duplicate hook SYNOPSIS struct drm_connector_state * drm_atomic_helper_connector_duplicate_state (struct drm_connector *connector ); ARGUMENTS connector drm connector DESCRIPTION Default connector state duplicate hook for drivers which don't have the...
drm_atomic_helper_connector_hdmi_check(9)
NAME drm_atomic_helper_connector_hdmi_check - Helper to check HDMI connector atomic state SYNOPSIS int drm_atomic_helper_connector_hdmi_check (struct drm_connector *connector , struct drm_atomic_state *state ); ARGUMENTS connector DRM Connector state the DRM State object DESCRIPTION Provides a defaul...
drm_atomic_helper_connector_hdmi_clear_audio_infoframe(9)
NAME drm_atomic_helper_connector_hdmi_clear_audio_infoframe - Stop sending the Audio Infoframe SYNOPSIS int drm_atomic_helper_connector_hdmi_clear_audio_infoframe (struct drm_connector *connector ); ARGUMENTS connector A pointer to the HDMI connector DESCRIPTION This function is meant for HDMI connector drivers to...
drm_atomic_helper_connector_hdmi_force(9)
NAME drm_atomic_helper_connector_hdmi_force - HDMI Connector implementation of the force callback SYNOPSIS void drm_atomic_helper_connector_hdmi_force (struct drm_connector *connector ); ARGUMENTS connector A pointer to the HDMI connector DESCRIPTION This function implements the .force callback for the HDMI connec...
drm_atomic_helper_connector_hdmi_hotplug(9)
NAME drm_atomic_helper_connector_hdmi_hotplug - Handle the hotplug event for the HDMI connector SYNOPSIS void drm_atomic_helper_connector_hdmi_hotplug (struct drm_connector *connector , enum drm_connector_status status ); ARGUMENTS connector A pointer to the HDMI connector status Connection status DES...
drm_atomic_helper_connector_hdmi_update_audio_infoframe(9)
NAME drm_atomic_helper_connector_hdmi_update_audio_infoframe - Update the Audio Infoframe SYNOPSIS int drm_atomic_helper_connector_hdmi_update_audio_infoframe (struct drm_connector *connector , struct hdmi_audio_infoframe *frame ); ARGUMENTS connector A pointer to the HDMI connector frame A pointer to...
drm_atomic_helper_connector_hdmi_update_infoframes(9)
NAME drm_atomic_helper_connector_hdmi_update_infoframes - Update the Infoframes SYNOPSIS int drm_atomic_helper_connector_hdmi_update_infoframes (struct drm_connector *connector , struct drm_atomic_state *state ); ARGUMENTS connector A pointer to the HDMI connector state The HDMI connector state to gen...
drm_atomic_helper_connector_reset(9)
NAME drm_atomic_helper_connector_reset - default &drm_connector_funcs.reset hook for connectors SYNOPSIS void drm_atomic_helper_connector_reset (struct drm_connector *connector ); ARGUMENTS connector drm connector DESCRIPTION Resets the atomic state for connector by freeing the state pointer (which might be NULL, ...
drm_atomic_helper_connector_tv_check(9)
NAME drm_atomic_helper_connector_tv_check - Validate an analog TV connector state SYNOPSIS int drm_atomic_helper_connector_tv_check (struct drm_connector *connector , struct drm_atomic_state *state ); ARGUMENTS connector DRM Connector state the DRM State object DESCRIPTION Checks the state object to ...
drm_atomic_helper_connector_tv_margins_reset(9)
NAME drm_atomic_helper_connector_tv_margins_reset - Resets TV connector properties SYNOPSIS void drm_atomic_helper_connector_tv_margins_reset (struct drm_connector *connector ); ARGUMENTS connector DRM connector DESCRIPTION Resets the TV-related properties attached to a connector. SEE ALSO Kernel file ./drive...
drm_atomic_helper_connector_tv_reset(9)
NAME drm_atomic_helper_connector_tv_reset - Resets Analog TV connector properties SYNOPSIS void drm_atomic_helper_connector_tv_reset (struct drm_connector *connector ); ARGUMENTS connector DRM connector DESCRIPTION Resets the analog TV properties attached to a connector SEE ALSO Kernel file ./drivers/gpu/drm/...
drm_atomic_helper_crtc_destroy_state(9)
NAME drm_atomic_helper_crtc_destroy_state - default state destroy hook SYNOPSIS void drm_atomic_helper_crtc_destroy_state (struct drm_crtc *crtc , struct drm_crtc_state *state ); ARGUMENTS crtc drm CRTC state CRTC state object to release DESCRIPTION Default CRTC state destroy hook for drivers wh...
drm_atomic_helper_crtc_duplicate_state(9)
NAME drm_atomic_helper_crtc_duplicate_state - default state duplicate hook SYNOPSIS struct drm_crtc_state * drm_atomic_helper_crtc_duplicate_state (struct drm_crtc *crtc ); ARGUMENTS crtc drm CRTC DESCRIPTION Default CRTC state duplicate hook for drivers which don't have their own subclassed CRTC state struct...
drm_atomic_helper_crtc_reset(9)
NAME drm_atomic_helper_crtc_reset - default &drm_crtc_funcs.reset hook for CRTCs SYNOPSIS void drm_atomic_helper_crtc_reset (struct drm_crtc *crtc ); ARGUMENTS crtc drm CRTC DESCRIPTION Resets the atomic state for crtc by freeing the state pointer (which might be NULL, e.g. at driver load time) and allocating...
drm_atomic_helper_damage_iter_init(9)
NAME drm_atomic_helper_damage_iter_init - Initialize the damage iterator. SYNOPSIS void drm_atomic_helper_damage_iter_init (struct drm_atomic_helper_damage_iter *iter , const struct drm_plane_state *old_state , const struct drm_plane_state *state ); ARGUMENTS iter The iterator to initialize. old_state ...
drm_atomic_helper_damage_iter_next(9)
NAME drm_atomic_helper_damage_iter_next - Advance the damage iterator. SYNOPSIS bool drm_atomic_helper_damage_iter_next (struct drm_atomic_helper_damage_iter *iter , struct drm_rect *rect ); ARGUMENTS iter The iterator to advance. rect Return a rectangle in fb coordinate clipped to plane src. D...
drm_atomic_helper_damage_merged(9)
NAME drm_atomic_helper_damage_merged - Merged plane damage SYNOPSIS bool drm_atomic_helper_damage_merged (const struct drm_plane_state *old_state , const struct drm_plane_state *state , struct drm_rect *rect ); ARGUMENTS old_state Old plane state for validation. state Plane state from which to iterate...
drm_atomic_helper_dirtyfb(9)
NAME drm_atomic_helper_dirtyfb - Helper for dirtyfb. SYNOPSIS int drm_atomic_helper_dirtyfb (struct drm_framebuffer *fb , struct drm_file *file_priv , unsigned int flags , unsigned int color , struct drm_clip_rect *clips , unsigned int num_clips ); ARGUMENTS fb DRM framebuffer. file_priv Drm file f...
drm_atomic_helper_disable_all(9)
NAME drm_atomic_helper_disable_all - disable all currently active outputs SYNOPSIS int drm_atomic_helper_disable_all (struct drm_device *dev , struct drm_modeset_acquire_ctx *ctx ); ARGUMENTS dev DRM device ctx lock acquisition context DESCRIPTION Loops through all connectors, finding those...
drm_atomic_helper_disable_plane(9)
NAME drm_atomic_helper_disable_plane - Helper for primary plane disable using atomic SYNOPSIS int drm_atomic_helper_disable_plane (struct drm_plane *plane , struct drm_modeset_acquire_ctx *ctx ); ARGUMENTS plane plane to disable ctx lock acquire context DESCRIPTION Provides a default plane disa...
drm_atomic_helper_disable_planes_on_crtc(9)
NAME drm_atomic_helper_disable_planes_on_crtc - helper to disable CRTC's planes SYNOPSIS void drm_atomic_helper_disable_planes_on_crtc (struct drm_crtc_state *old_crtc_state , bool atomic ); ARGUMENTS old_crtc_state atomic state object with the old CRTC state atomic if set, synchronize with CRTC's atomic...
drm_atomic_helper_duplicate_state(9)
NAME drm_atomic_helper_duplicate_state - duplicate an atomic state object SYNOPSIS struct drm_atomic_state * drm_atomic_helper_duplicate_state (struct drm_device *dev , struct drm_modeset_acquire_ctx *ctx ); ARGUMENTS dev DRM device ctx lock acquisition context DESCRIPTION Makes a copy of the...
drm_atomic_helper_fake_vblank(9)
NAME drm_atomic_helper_fake_vblank - fake VBLANK events if needed SYNOPSIS void drm_atomic_helper_fake_vblank (struct drm_atomic_state *state ); ARGUMENTS state atomic state object being committed DESCRIPTION This function walks all CRTCs and fakes VBLANK events on those with drm_crtc_state.no_vblank set to t...
drm_atomic_helper_page_flip(9)
NAME drm_atomic_helper_page_flip - execute a legacy page flip SYNOPSIS int drm_atomic_helper_page_flip (struct drm_crtc *crtc , struct drm_framebuffer *fb , struct drm_pending_vblank_event *event , uint32_t flags , struct drm_modeset_acquire_ctx *ctx ); ARGUMENTS crtc DRM CRTC fb DRM framebuff...
drm_atomic_helper_page_flip_target(9)
NAME drm_atomic_helper_page_flip_target - do page flip on target vblank period. SYNOPSIS int drm_atomic_helper_page_flip_target (struct drm_crtc *crtc , struct drm_framebuffer *fb , struct drm_pending_vblank_event *event , uint32_t flags , uint32_t target , struct drm_modeset_acquire_ctx *ctx ); ARGUMENTS crtc ...
drm_atomic_helper_plane_destroy_state(9)
NAME drm_atomic_helper_plane_destroy_state - default state destroy hook SYNOPSIS void drm_atomic_helper_plane_destroy_state (struct drm_plane *plane , struct drm_plane_state *state ); ARGUMENTS plane drm plane state plane state object to release DESCRIPTION Default plane state destroy hook for dr...
drm_atomic_helper_plane_duplicate_state(9)
NAME drm_atomic_helper_plane_duplicate_state - default state duplicate hook SYNOPSIS struct drm_plane_state * drm_atomic_helper_plane_duplicate_state (struct drm_plane *plane ); ARGUMENTS plane drm plane DESCRIPTION Default plane state duplicate hook for drivers which don't have their own subclassed plane stat...
drm_atomic_helper_plane_reset(9)
NAME drm_atomic_helper_plane_reset - default &drm_plane_funcs.reset hook for planes SYNOPSIS void drm_atomic_helper_plane_reset (struct drm_plane *plane ); ARGUMENTS plane drm plane DESCRIPTION Resets the atomic state for plane by freeing the state pointer (which might be NULL, e.g. at driver load time) and al...
drm_atomic_helper_prepare_planes(9)
NAME drm_atomic_helper_prepare_planes - prepare plane resources before commit SYNOPSIS int drm_atomic_helper_prepare_planes (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object with new state structures DESCRIPTION This function prep...
drm_atomic_helper_reset_crtc(9)
NAME drm_atomic_helper_reset_crtc - reset the active outputs of a CRTC SYNOPSIS int drm_atomic_helper_reset_crtc (struct drm_crtc *crtc , struct drm_modeset_acquire_ctx *ctx ); ARGUMENTS crtc DRM CRTC ctx lock acquisition context DESCRIPTION Reset the active outputs by indicating that connect...
drm_atomic_helper_resume(9)
NAME drm_atomic_helper_resume - subsystem-level resume helper SYNOPSIS int drm_atomic_helper_resume (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state to resume to DESCRIPTION Calls drm_mode_config_reset to synchronize hardware and software ...
drm_atomic_helper_set_config(9)
NAME drm_atomic_helper_set_config - set a new config from userspace SYNOPSIS int drm_atomic_helper_set_config (struct drm_mode_set *set , struct drm_modeset_acquire_ctx *ctx ); ARGUMENTS set mode set configuration ctx lock acquisition context DESCRIPTION Provides a default CRTC set_config han...
drm_atomic_helper_setup_commit(9)
NAME drm_atomic_helper_setup_commit - setup possibly nonblocking commit SYNOPSIS int drm_atomic_helper_setup_commit (struct drm_atomic_state *state , bool nonblock ); ARGUMENTS state new modeset state to be committed nonblock whether nonblocking behavior is requested. DESCRIPTION This function pre...
drm_atomic_helper_shutdown(9)
NAME drm_atomic_helper_shutdown - shutdown all CRTC SYNOPSIS void drm_atomic_helper_shutdown (struct drm_device *dev ); ARGUMENTS dev DRM device DESCRIPTION This shuts down all CRTC, which is useful for driver unloading. Shutdown on suspend should instead be handled with drm_atomic_helper_suspend, since that...
drm_atomic_helper_suspend(9)
NAME drm_atomic_helper_suspend - subsystem-level suspend helper SYNOPSIS struct drm_atomic_state * drm_atomic_helper_suspend (struct drm_device *dev ); ARGUMENTS dev DRM device DESCRIPTION Duplicates the current atomic state, disables all active outputs and then returns a pointer to the original atomic sta...
drm_atomic_helper_swap_state(9)
NAME drm_atomic_helper_swap_state - store atomic state into current sw state SYNOPSIS int drm_atomic_helper_swap_state (struct drm_atomic_state *state , bool stall ); ARGUMENTS state atomic state stall stall for preceding commits DESCRIPTION This function stores the atomic state into the curr...
drm_atomic_helper_unprepare_planes(9)
NAME drm_atomic_helper_unprepare_planes - release plane resources on aborts SYNOPSIS void drm_atomic_helper_unprepare_planes (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object with old state structures DESCRIPTION This function clean...
drm_atomic_helper_update_legacy_modeset_state(9)
NAME drm_atomic_helper_update_legacy_modeset_state - update legacy modeset state SYNOPSIS void drm_atomic_helper_update_legacy_modeset_state (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object being committed DESCRIPTION This function ...
drm_atomic_helper_update_plane(9)
NAME drm_atomic_helper_update_plane - Helper for primary plane update using atomic SYNOPSIS int drm_atomic_helper_update_plane (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 , uint3...
drm_atomic_helper_wait_for_dependencies(9)
NAME drm_atomic_helper_wait_for_dependencies - wait for required preceding commits SYNOPSIS void drm_atomic_helper_wait_for_dependencies (struct drm_atomic_state *state ); ARGUMENTS state atomic state object being committed DESCRIPTION This function waits for all preceding commits that touch the same...
drm_atomic_helper_wait_for_fences(9)
NAME drm_atomic_helper_wait_for_fences - wait for fences stashed in plane state SYNOPSIS int drm_atomic_helper_wait_for_fences (struct drm_device *dev , struct drm_atomic_state *state , bool pre_swap ); ARGUMENTS dev DRM device state atomic state object with old state structures pre_swap...
drm_atomic_helper_wait_for_flip_done(9)
NAME drm_atomic_helper_wait_for_flip_done - wait for all page flips to be done SYNOPSIS void drm_atomic_helper_wait_for_flip_done (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object being committed DESCRIPTION Helper to, after atomic co...
drm_atomic_helper_wait_for_vblanks(9)
NAME drm_atomic_helper_wait_for_vblanks - wait for vblank on CRTCs SYNOPSIS void drm_atomic_helper_wait_for_vblanks (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state object being committed DESCRIPTION Helper to, after atomic commit, wai...
drm_atomic_nonblocking_commit(9)
NAME drm_atomic_nonblocking_commit - atomic nonblocking commit SYNOPSIS int drm_atomic_nonblocking_commit (struct drm_atomic_state *state ); ARGUMENTS state atomic configuration to check DESCRIPTION Note that this function can return -EDEADLK if the driver needed to acquire more locks but encountered a deadl...
drm_atomic_normalize_zpos(9)
NAME drm_atomic_normalize_zpos - calculate normalized zpos values for all crtcs SYNOPSIS int drm_atomic_normalize_zpos (struct drm_device *dev , struct drm_atomic_state *state ); ARGUMENTS dev DRM device state atomic state of DRM device DESCRIPTION This function calculates normalized zpos v...
drm_atomic_plane_check(9)
NAME drm_atomic_plane_check - check plane state SYNOPSIS int drm_atomic_plane_check (const struct drm_plane_state *old_plane_state , const struct drm_plane_state *new_plane_state ); ARGUMENTS old_plane_state old plane state to check new_plane_state new plane state to check DESCRIPTION Prov...
drm_atomic_plane_disabling(9)
NAME drm_atomic_plane_disabling - check whether a plane is being disabled SYNOPSIS bool drm_atomic_plane_disabling (struct drm_plane_state *old_plane_state , struct drm_plane_state *new_plane_state ); ARGUMENTS old_plane_state old atomic plane state new_plane_state new atomic plane state D...
drm_atomic_plane_enabling(9)
NAME drm_atomic_plane_enabling - check whether a plane is being enabled SYNOPSIS bool drm_atomic_plane_enabling (struct drm_plane_state *old_plane_state , struct drm_plane_state *new_plane_state ); ARGUMENTS old_plane_state old atomic plane state new_plane_state new atomic plane state DESC...
drm_atomic_print_new_state(9)
NAME drm_atomic_print_new_state - prints drm atomic state SYNOPSIS void drm_atomic_print_new_state (const struct drm_atomic_state *state , struct drm_printer *p ); ARGUMENTS state atomic configuration to check p drm printer DESCRIPTION This functions prints the drm atomic state snapshot us...
drm_atomic_private_obj_fini(9)
NAME drm_atomic_private_obj_fini - finalize private object SYNOPSIS void drm_atomic_private_obj_fini (struct drm_private_obj *obj ); ARGUMENTS obj private object DESCRIPTION Finalize the private object. SEE ALSO Kernel file ./drivers/gpu/drm/drm_atomic.c drm_crtc_commit_wait(9), drm_atomic_state_default_r...
drm_atomic_private_obj_init(9)
NAME drm_atomic_private_obj_init - initialize private object SYNOPSIS void drm_atomic_private_obj_init (struct drm_device *dev , struct drm_private_obj *obj , struct drm_private_state *state , const struct drm_private_state_funcs *funcs ); ARGUMENTS dev DRM device this object will be attached to obj ...
drm_atomic_set_colorop_for_plane(9)
NAME drm_atomic_set_colorop_for_plane - set colorop for plane SYNOPSIS void drm_atomic_set_colorop_for_plane (struct drm_plane_state *plane_state , struct drm_colorop *colorop ); ARGUMENTS plane_state atomic state object for the plane colorop colorop to use for the plane DESCRIPTION Helper function to se...
drm_atomic_set_crtc_for_connector(9)
NAME drm_atomic_set_crtc_for_connector - set CRTC for connector SYNOPSIS int drm_atomic_set_crtc_for_connector (struct drm_connector_state *conn_state , struct drm_crtc *crtc ); ARGUMENTS conn_state atomic state object for the connector crtc CRTC to use for the connector DESCRIPTION Changing the assi...