id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
drm_dp_subconnector_type(9) | NAME drm_dp_subconnector_type - get DP branch device type
SYNOPSIS enum drm_mode_subconnector drm_dp_subconnector_type (const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] );
ARGUMENTS dpcd DisplayPort configuration data
port_cap port capabilities
SEE ALSO Kernel file ./drivers/gpu/drm/dis... |
drm_dp_tunnel_alloc_bw(9) | NAME drm_dp_tunnel_alloc_bw - Allocate BW for a DP tunnel
SYNOPSIS int drm_dp_tunnel_alloc_bw (struct drm_dp_tunnel *tunnel , int bw );
ARGUMENTS tunnel Tunnel object
bw BW in kB/s units
DESCRIPTION Allocate bw kB/s for tunnel. The allocated BW must be freed after use by calling this function f... |
drm_dp_tunnel_atomic_check_stream_bws(9) | NAME drm_dp_tunnel_atomic_check_stream_bws - Check BW limit for all streams in state
SYNOPSIS int drm_dp_tunnel_atomic_check_stream_bws (struct drm_atomic_state *state , u32 *failed_stream_mask );
ARGUMENTS state Atomic state
failed_stream_mask
Mask of stream IDs with a BW limit failu... |
drm_dp_tunnel_atomic_get_group_streams_in_state(9) | NAME drm_dp_tunnel_atomic_get_group_streams_in_state - Get mask of stream IDs in a group
SYNOPSIS int drm_dp_tunnel_atomic_get_group_streams_in_state (struct drm_atomic_state *state , const struct drm_dp_tunnel *tunnel , u32 *stream_mask );
ARGUMENTS state Atomic state
tunnel Tunnel object
... |
drm_dp_tunnel_atomic_get_new_state(9) | NAME drm_dp_tunnel_atomic_get_new_state - get the new atomic state for a tunnel
SYNOPSIS struct drm_dp_tunnel_state * drm_dp_tunnel_atomic_get_new_state (struct drm_atomic_state *state , const struct drm_dp_tunnel *tunnel );
ARGUMENTS state Atomic state
tunnel Tunnel to get the state for
DESCRIPTI... |
drm_dp_tunnel_atomic_get_old_state(9) | NAME drm_dp_tunnel_atomic_get_old_state - get the old atomic state for a tunnel
SYNOPSIS struct drm_dp_tunnel_state * drm_dp_tunnel_atomic_get_old_state (struct drm_atomic_state *state , const struct drm_dp_tunnel *tunnel );
ARGUMENTS state Atomic state
tunnel Tunnel to get the state for
DESCRIPTI... |
drm_dp_tunnel_atomic_get_required_bw(9) | NAME drm_dp_tunnel_atomic_get_required_bw - Get the BW required by a DP tunnel
SYNOPSIS int drm_dp_tunnel_atomic_get_required_bw (const struct drm_dp_tunnel_state *tunnel_state );
ARGUMENTS tunnel_state Atomic state of the queried tunnel
DESCRIPTION Calculate the BW required by a tunnel adding up the required BW of ... |
drm_dp_tunnel_atomic_get_state(9) | NAME drm_dp_tunnel_atomic_get_state - get/allocate the new atomic state for a tunnel
SYNOPSIS struct drm_dp_tunnel_state * drm_dp_tunnel_atomic_get_state (struct drm_atomic_state *state , struct drm_dp_tunnel *tunnel );
ARGUMENTS state Atomic state
tunnel Tunnel to get the state for
DESCRIPTION Ge... |
drm_dp_tunnel_atomic_set_stream_bw(9) | NAME drm_dp_tunnel_atomic_set_stream_bw - Set the BW for a DP tunnel stream
SYNOPSIS int drm_dp_tunnel_atomic_set_stream_bw (struct drm_atomic_state *state , struct drm_dp_tunnel *tunnel , u8 stream_id , int bw );
ARGUMENTS state Atomic state
tunnel DP tunnel containing the stream
stream_id... |
drm_dp_tunnel_available_bw(9) | NAME drm_dp_tunnel_available_bw - Query the estimated total available BW of the tunnel
SYNOPSIS int drm_dp_tunnel_available_bw (const struct drm_dp_tunnel *tunnel );
ARGUMENTS tunnel Tunnel object
DESCRIPTION This function is used to query the estimated total available BW of the tunnel. This includes the curr... |
drm_dp_tunnel_bw_alloc_is_enabled(9) | NAME drm_dp_tunnel_bw_alloc_is_enabled - Query the BW allocation mode enabled state
SYNOPSIS bool drm_dp_tunnel_bw_alloc_is_enabled (const struct drm_dp_tunnel *tunnel );
ARGUMENTS tunnel Tunnel object
DESCRIPTION Query if the BW allocation mode is enabled for tunnel. Returns true if the BW allocation mode is ... |
drm_dp_tunnel_destroy(9) | NAME drm_dp_tunnel_destroy - Destroy tunnel object
SYNOPSIS int drm_dp_tunnel_destroy (struct drm_dp_tunnel *tunnel );
ARGUMENTS tunnel Tunnel object
DESCRIPTION Remove the tunnel from the tunnel topology and destroy it. Returns 0 on success, -ENODEV if the tunnel has been destroyed already.
SEE ALSO Kernel ... |
drm_dp_tunnel_detect(9) | NAME drm_dp_tunnel_detect - Detect DP tunnel on the link
SYNOPSIS struct drm_dp_tunnel * drm_dp_tunnel_detect (struct drm_dp_tunnel_mgr *mgr , struct drm_dp_aux *aux );
ARGUMENTS mgr Tunnel manager
aux DP AUX on which the tunnel will be detected
DESCRIPTION Detect if there is any DP tunnel on... |
drm_dp_tunnel_disable_bw_alloc(9) | NAME drm_dp_tunnel_disable_bw_alloc - Disable DP tunnel BW allocation mode
SYNOPSIS int drm_dp_tunnel_disable_bw_alloc (struct drm_dp_tunnel *tunnel );
ARGUMENTS tunnel Tunnel object
DESCRIPTION Disable the DP tunnel BW allocation mode on tunnel. Returns 0 in case of success, negative error code otherwise.
SE... |
drm_dp_tunnel_enable_bw_alloc(9) | NAME drm_dp_tunnel_enable_bw_alloc - Enable DP tunnel BW allocation mode
SYNOPSIS int drm_dp_tunnel_enable_bw_alloc (struct drm_dp_tunnel *tunnel );
ARGUMENTS tunnel Tunnel object
DESCRIPTION Enable the DP tunnel BW allocation mode on tunnel if it supports it. Returns 0 in case of success, negative error code ... |
drm_dp_tunnel_get(9) | NAME drm_dp_tunnel_get - Get a reference for a DP tunnel
SYNOPSIS struct drm_dp_tunnel * drm_dp_tunnel_get (struct drm_dp_tunnel *tunnel , struct ref_tracker **tracker );
ARGUMENTS tunnel Tunnel object
tracker Debug tracker for the reference
DESCRIPTION Get a reference for tunnel, along with a debug... |
drm_dp_tunnel_get_allocated_bw(9) | NAME drm_dp_tunnel_get_allocated_bw - Get the BW allocated for a DP tunnel
SYNOPSIS int drm_dp_tunnel_get_allocated_bw (struct drm_dp_tunnel *tunnel );
ARGUMENTS tunnel Tunnel object
DESCRIPTION Get the current BW allocated for tunnel. After the tunnel is created / resumed and the BW allocation mode is enabled... |
drm_dp_tunnel_max_dprx_lane_count(9) | NAME drm_dp_tunnel_max_dprx_lane_count - Query the maximum lane count of the tunnel's DPRX
SYNOPSIS int drm_dp_tunnel_max_dprx_lane_count (const struct drm_dp_tunnel *tunnel );
ARGUMENTS tunnel Tunnel object
DESCRIPTION The function is used to query the maximum lane count of the DPRX connected to tunnel. Note ... |
drm_dp_tunnel_max_dprx_rate(9) | NAME drm_dp_tunnel_max_dprx_rate - Query the maximum rate of the tunnel's DPRX
SYNOPSIS int drm_dp_tunnel_max_dprx_rate (const struct drm_dp_tunnel *tunnel );
ARGUMENTS tunnel Tunnel object
DESCRIPTION The function is used to query the maximum link rate of the DPRX connected to tunnel. Note that this rate w... |
drm_dp_tunnel_mgr_create(9) | NAME drm_dp_tunnel_mgr_create - Create a DP tunnel manager
SYNOPSIS struct drm_dp_tunnel_mgr * drm_dp_tunnel_mgr_create (struct drm_device *dev , int max_group_count );
ARGUMENTS dev DRM device object
max_group_count
Maximum number of tunnel groups
DESCRIPTION Creates a DP tunnel m... |
drm_dp_tunnel_mgr_destroy(9) | NAME drm_dp_tunnel_mgr_destroy - Destroy DP tunnel manager
SYNOPSIS void drm_dp_tunnel_mgr_destroy (struct drm_dp_tunnel_mgr *mgr );
ARGUMENTS mgr Tunnel manager object
DESCRIPTION Destroy the tunnel manager.
SEE ALSO Kernel file ./drivers/gpu/drm/display/drm_dp_tunnel.c drm_dp_tunnel_get(9), drm_dp_tun... |
drm_dp_tunnel_put(9) | NAME drm_dp_tunnel_put - Put a reference for a DP tunnel
SYNOPSIS void drm_dp_tunnel_put (struct drm_dp_tunnel *tunnel , struct ref_tracker **tracker );
ARGUMENTS tunnel Tunnel object
tracker Debug tracker for the reference
DESCRIPTION Put a reference for tunnel along with its debug *tracker, which ... |
drm_dp_tunnel_set_io_error(9) | NAME drm_dp_tunnel_set_io_error - Set the IO error flag for a DP tunnel
SYNOPSIS void drm_dp_tunnel_set_io_error (struct drm_dp_tunnel *tunnel );
ARGUMENTS tunnel Tunnel object
DESCRIPTION Set the IO error flag for tunnel. Drivers can call this function upon detecting a failure that affects the tunnel function... |
drm_dp_tunnel_update_state(9) | NAME drm_dp_tunnel_update_state - Update DP tunnel SW state with the HW state
SYNOPSIS int drm_dp_tunnel_update_state (struct drm_dp_tunnel *tunnel );
ARGUMENTS tunnel Tunnel object
DESCRIPTION Update the SW state of tunnel with the HW state. Returns 0 if the state has not changed, 1 if it has changed and got ... |
drm_dp_vsc_sdp_pack(9) | NAME drm_dp_vsc_sdp_pack - pack a given vsc sdp into generic dp_sdp
SYNOPSIS ssize_t drm_dp_vsc_sdp_pack (const struct drm_dp_vsc_sdp *vsc , struct dp_sdp *sdp );
ARGUMENTS vsc vsc sdp initialized according to its purpose as defined in table 2-118 - table 2-120 in DP 1.4a specification
sdp val... |
drm_dp_vsc_sdp_supported(9) | NAME drm_dp_vsc_sdp_supported - check if vsc sdp is supported
SYNOPSIS bool drm_dp_vsc_sdp_supported (struct drm_dp_aux *aux , const u8 dpcd[DP_RECEIVER_CAP_SIZE] );
ARGUMENTS aux DisplayPort AUX channel
dpcd DisplayPort configuration data
DESCRIPTION Returns true if vsc sdp is supported, else... |
drm_draw_can_convert_from_xrgb8888(9) | NAME drm_draw_can_convert_from_xrgb8888 - check if xrgb8888 can be converted to the desired format
SYNOPSIS bool drm_draw_can_convert_from_xrgb8888 (u32 format );
ARGUMENTS format format
RETURN True if XRGB8888 can be converted to the specified format, false otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/dr... |
drm_draw_color_from_xrgb8888(9) | NAME drm_draw_color_from_xrgb8888 - convert one pixel from xrgb8888 to the desired format
SYNOPSIS u32 drm_draw_color_from_xrgb8888 (u32 color , u32 format );
ARGUMENTS color input color, in xrgb8888 format
format output format
RETURN Color in the format specified, casted to u32. Or 0 if the form... |
drm_driver_color_mode_format(9) | NAME drm_driver_color_mode_format - Compute DRM 4CC code from color mode
SYNOPSIS uint32_t drm_driver_color_mode_format (struct drm_device *dev , unsigned int color_mode );
ARGUMENTS dev DRM device
color_mode command-line color mode
DESCRIPTION Computes a DRM 4CC pixel format code for the given co... |
drm_driver_legacy_fb_format(9) | NAME drm_driver_legacy_fb_format - compute drm fourcc code from legacy description
SYNOPSIS uint32_t drm_driver_legacy_fb_format (struct drm_device *dev , uint32_t bpp , uint32_t depth );
ARGUMENTS dev DRM device
bpp bits per pixels
depth bit depth per pixel
DESCRIPTION Computes... |
drm_drv_uses_atomic_modeset(9) | NAME drm_drv_uses_atomic_modeset - check if the driver implements atomic_commit()
SYNOPSIS bool drm_drv_uses_atomic_modeset (struct drm_device *dev );
ARGUMENTS dev DRM device
DESCRIPTION This check is useful if drivers do not have DRIVER_ATOMIC set but have atomic modesetting internally implemented.
SEE AL... |
drm_dsc_compute_rc_parameters(9) | NAME drm_dsc_compute_rc_parameters - Write rate control parameters to the dsc configuration defined in &struct drm_dsc_config in accordance with the DSC 1.2 specification. Some configuration fields must be present beforehand.
SYNOPSIS int drm_dsc_compute_rc_parameters (struct drm_dsc_config *vdsc_cfg );
ARGUMENTS vds... |
drm_dsc_dp_pps_header_init(9) | NAME drm_dsc_dp_pps_header_init - Initializes the PPS Header for DisplayPort as per the DP 1.4 spec.
SYNOPSIS void drm_dsc_dp_pps_header_init (struct dp_sdp_header *pps_header );
ARGUMENTS pps_header Secondary data packet header for DSC Picture Parameter Set as defined in struct dp_sdp_header
DESCRIPTION DP 1.4 spe... |
drm_dsc_dp_rc_buffer_size(9) | NAME drm_dsc_dp_rc_buffer_size - get rc buffer size in bytes
SYNOPSIS int drm_dsc_dp_rc_buffer_size (u8 rc_buffer_block_size , u8 rc_buffer_size );
ARGUMENTS rc_buffer_block_size block size code, according to DPCD offset 62h
rc_buffer_size
number of blocks - 1, according to DPCD offset 63h
... |
drm_dsc_dump_config(9) | NAME drm_dsc_dump_config - Dump the provided DSC configuration
SYNOPSIS void drm_dsc_dump_config (struct drm_printer *p , int indent , const struct drm_dsc_config *cfg );
ARGUMENTS p The printer used for output
indent Tab indentation level (max 5)
cfg DSC configuration to print
... |
drm_dsc_flatness_det_thresh(9) | NAME drm_dsc_flatness_det_thresh - Calculate the flatness_det_thresh for the given DSC config
SYNOPSIS u32 drm_dsc_flatness_det_thresh (const struct drm_dsc_config *dsc );
ARGUMENTS dsc Pointer to DRM DSC config struct
RETURN Calculated flatness det thresh value
SEE ALSO Kernel file ./drivers/gpu/drm/disp... |
drm_dsc_get_bpp_int(9) | NAME drm_dsc_get_bpp_int - Get integer bits per pixel value for the given DRM DSC config
SYNOPSIS u32 drm_dsc_get_bpp_int (const struct drm_dsc_config *vdsc_cfg );
ARGUMENTS vdsc_cfg Pointer to DRM DSC config struct
RETURN Integer BPP value
SEE ALSO Kernel file ./drivers/gpu/drm/display/drm_dsc_helper.c Kerne... |
drm_dsc_initial_scale_value(9) | NAME drm_dsc_initial_scale_value - Calculate the initial scale value for the given DSC config
SYNOPSIS u8 drm_dsc_initial_scale_value (const struct drm_dsc_config *dsc );
ARGUMENTS dsc Pointer to DRM DSC config struct
RETURN Calculated initial scale value
SEE ALSO Kernel file ./drivers/gpu/drm/display/drm... |
drm_dsc_pps_payload_pack(9) | NAME drm_dsc_pps_payload_pack - Populates the DSC PPS
SYNOPSIS void drm_dsc_pps_payload_pack (struct drm_dsc_picture_parameter_set *pps_payload , const struct drm_dsc_config *dsc_cfg );
ARGUMENTS pps_payload Bitwise struct for DSC Picture Parameter Set. This is defined by struct drm_dsc_picture_parameter_set
... |
drm_dsc_set_const_params(9) | NAME drm_dsc_set_const_params - Set DSC parameters considered typically constant across operation modes
SYNOPSIS void drm_dsc_set_const_params (struct drm_dsc_config *vdsc_cfg );
ARGUMENTS vdsc_cfg DSC Configuration data partially filled by driver
SEE ALSO Kernel file ./drivers/gpu/drm/display/drm_dsc_helper.c ... |
drm_dsc_set_rc_buf_thresh(9) | NAME drm_dsc_set_rc_buf_thresh - Set thresholds for the RC model in accordance with the DSC 1.2 specification.
SYNOPSIS void drm_dsc_set_rc_buf_thresh (struct drm_dsc_config *vdsc_cfg );
ARGUMENTS vdsc_cfg DSC Configuration data partially filled by driver
SEE ALSO Kernel file ./drivers/gpu/drm/display/drm_dsc_h... |
drm_dsc_setup_rc_params(9) | NAME drm_dsc_setup_rc_params - Set parameters and limits for RC model in accordance with the DSC 1.1 or 1.2 specification and DSC C Model Required bits_per_pixel and bits_per_component to be set before calling this function.
SYNOPSIS int drm_dsc_setup_rc_params (struct drm_dsc_config *vdsc_cfg , enum drm_dsc_params_ty... |
drm_edid_alloc(9) | NAME drm_edid_alloc - Allocate a new drm_edid container
SYNOPSIS const struct drm_edid * drm_edid_alloc (const void *edid , size_t size );
ARGUMENTS edid Pointer to raw EDID data
size Size of memory allocated for EDID
DESCRIPTION Allocate a new drm_edid container. Do not calculate edid size fr... |
drm_edid_connector_add_modes(9) | NAME drm_edid_connector_add_modes - Update probed modes from the EDID property
SYNOPSIS int drm_edid_connector_add_modes (struct drm_connector *connector );
ARGUMENTS connector Connector
DESCRIPTION Add the modes from the previously updated EDID property to the connector probed modes list. drm_edid_connector_upda... |
drm_edid_connector_update(9) | NAME drm_edid_connector_update - Update connector information from EDID
SYNOPSIS int drm_edid_connector_update (struct drm_connector *connector , const struct drm_edid *drm_edid );
ARGUMENTS connector Connector
drm_edid EDID
DESCRIPTION Update the connector display info, ELD, HDR metadata, relevant prop... |
drm_edid_decode_mfg_id(9) | NAME drm_edid_decode_mfg_id - Decode the manufacturer ID
SYNOPSIS const char * drm_edid_decode_mfg_id (u16 mfg_id , char vend[4] );
ARGUMENTS mfg_id The manufacturer ID
vend A 4-byte buffer to store the 3-letter vendor string plus a ' ' termination
SEE ALSO Kernel file ./include/drm/drm_edid.h dr... |
drm_edid_decode_panel_id(9) | NAME drm_edid_decode_panel_id - Decode a panel ID from drm_edid_encode_panel_id()
SYNOPSIS void drm_edid_decode_panel_id (u32 panel_id , char vend[4] , u16 *product_id );
ARGUMENTS panel_id The panel ID to decode.
vend A 4-byte buffer to store the 3-letter vendor string plus a ' ' termination
... |
drm_edid_dup(9) | NAME drm_edid_dup - Duplicate a drm_edid container
SYNOPSIS const struct drm_edid * drm_edid_dup (const struct drm_edid *drm_edid );
ARGUMENTS drm_edid EDID to duplicate
DESCRIPTION The returned pointer must be freed using drm_edid_free.
RETURN drm_edid container copy, or NULL on errors
SEE ALSO Kernel file ... |
drm_edid_duplicate(9) | NAME drm_edid_duplicate - duplicate an EDID and the extensions
SYNOPSIS struct edid * drm_edid_duplicate (const struct edid *edid );
ARGUMENTS edid EDID to duplicate
RETURN Pointer to duplicated EDID or NULL on allocation failure.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_edid.c drm_edid_header_is_valid... |
drm_edid_encode_panel_id(9) | NAME drm_edid_encode_panel_id - Encode an ID for matching against drm_edid_get_panel_id()
SYNOPSIS drm_edid_encode_panel_id (vend_chr_0 , vend_chr_1 , vend_chr_2 , product_id );
ARGUMENTS vend_chr_0 First character of the vendor string.
vend_chr_1 Second character of the vendor string.
vend_chr_2 T... |
drm_edid_free(9) | NAME drm_edid_free - Free the drm_edid container
SYNOPSIS void drm_edid_free (const struct drm_edid *drm_edid );
ARGUMENTS drm_edid EDID to free
SEE ALSO Kernel file ./drivers/gpu/drm/drm_edid.c drm_edid_header_is_valid(9), drm_edid_is_valid(9), drm_edid_valid(9), drm_do_probe_ddc_edid(9), drm_edid_overri... |
drm_edid_get_monitor_name(9) | NAME drm_edid_get_monitor_name - fetch the monitor name from the edid
SYNOPSIS void drm_edid_get_monitor_name (const struct edid *edid , char *name , int bufsize );
ARGUMENTS edid monitor EDID information
name pointer to a character array to hold the name of the monitor
bufsize The s... |
drm_edid_get_panel_id(9) | NAME drm_edid_get_panel_id - Get a panel's ID from EDID
SYNOPSIS u32 drm_edid_get_panel_id (const struct drm_edid *drm_edid );
ARGUMENTS drm_edid EDID that contains panel ID.
DESCRIPTION This function uses the first block of the EDID of a panel and (assuming that the EDID is valid) extracts the ID out of it. T... |
drm_edid_get_product_id(9) | NAME drm_edid_get_product_id - Get the vendor and product identification
SYNOPSIS void drm_edid_get_product_id (const struct drm_edid *drm_edid , struct drm_edid_product_id *id );
ARGUMENTS drm_edid EDID
id Where to place the product id
SEE ALSO Kernel file ./drivers/gpu/drm/drm_edid.c drm_ed... |
drm_edid_header_is_valid(9) | NAME drm_edid_header_is_valid - sanity check the header of the base EDID block
SYNOPSIS int drm_edid_header_is_valid (const void *_edid );
ARGUMENTS _edid pointer to raw base EDID block
DESCRIPTION Sanity check the header of the base EDID block.
RETURN 8 if the header is perfect, down to 0 if it's totally wro... |
drm_edid_is_digital(9) | NAME drm_edid_is_digital - is digital?
SYNOPSIS bool drm_edid_is_digital (const struct drm_edid *drm_edid );
ARGUMENTS drm_edid The EDID
DESCRIPTION Return true if input is digital.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_edid.c drm_edid_header_is_valid(9), drm_edid_is_valid(9), drm_edid_valid(9), drm_... |
drm_edid_is_valid(9) | NAME drm_edid_is_valid - sanity check EDID data
SYNOPSIS bool drm_edid_is_valid (struct edid *edid );
ARGUMENTS edid EDID data
DESCRIPTION Sanity-check an entire EDID record (including extensions)
RETURN True if the EDID data is valid, false otherwise.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_edid.c ... |
drm_edid_match(9) | NAME drm_edid_match - match drm_edid with given identity
SYNOPSIS bool drm_edid_match (const struct drm_edid *drm_edid , const struct drm_edid_ident *ident );
ARGUMENTS drm_edid EDID
ident the EDID identity to match with
DESCRIPTION Check if the EDID matches with the given identity.
RETURN True if ... |
drm_edid_override_connector_update(9) | NAME drm_edid_override_connector_update - add modes from override/firmware EDID
SYNOPSIS int drm_edid_override_connector_update (struct drm_connector *connector );
ARGUMENTS connector connector we're probing
DESCRIPTION Add modes from the override/firmware EDID, if available. Only to be used from drm_helper_probe_... |
drm_edid_print_product_id(9) | NAME drm_edid_print_product_id - Print decoded product id to printer
SYNOPSIS void drm_edid_print_product_id (struct drm_printer *p , const struct drm_edid_product_id *id , bool raw );
ARGUMENTS p drm printer
id EDID product id
raw If true, also print the raw hex
DESCRIPTIO... |
drm_edid_raw(9) | NAME drm_edid_raw - Get a pointer to the raw EDID data.
SYNOPSIS const struct edid * drm_edid_raw (const struct drm_edid *drm_edid );
ARGUMENTS drm_edid drm_edid container
DESCRIPTION Get a pointer to the raw EDID data. This is for transition only. Avoid using this like the plague.
RETURN Pointer to raw EDID da... |
drm_edid_read(9) | NAME drm_edid_read - Read EDID data using connector's I2C adapter
SYNOPSIS const struct drm_edid * drm_edid_read (struct drm_connector *connector );
ARGUMENTS connector Connector to use
DESCRIPTION Read EDID using the connector's I2C adapter. The EDID may be overridden using debugfs override_edid or firmware EDID... |
drm_edid_read_base_block(9) | NAME drm_edid_read_base_block - Get a panel's EDID base block
SYNOPSIS const struct drm_edid * drm_edid_read_base_block (struct i2c_adapter *adapter );
ARGUMENTS adapter I2C adapter to use for DDC
DESCRIPTION This function returns the drm_edid containing the first block of the EDID of a panel. This function ... |
drm_edid_read_custom(9) | NAME drm_edid_read_custom - Read EDID data using given EDID block read function
SYNOPSIS const struct drm_edid * drm_edid_read_custom (struct drm_connector *connector , read_block_fn read_block , void *context );
ARGUMENTS connector Connector to use
read_block EDID block read function
context P... |
drm_edid_read_ddc(9) | NAME drm_edid_read_ddc - Read EDID data using given I2C adapter
SYNOPSIS const struct drm_edid * drm_edid_read_ddc (struct drm_connector *connector , struct i2c_adapter *adapter );
ARGUMENTS connector Connector to use
adapter I2C adapter to use for DDC
DESCRIPTION Read EDID using the given I2C adapte... |
drm_edid_read_switcheroo(9) | NAME drm_edid_read_switcheroo - get EDID data for a vga_switcheroo output
SYNOPSIS const struct drm_edid * drm_edid_read_switcheroo (struct drm_connector *connector , struct i2c_adapter *adapter );
ARGUMENTS connector connector we're probing
adapter I2C adapter to use for DDC
DESCRIPTION Wrapper around... |
drm_edid_to_sad(9) | NAME drm_edid_to_sad - extracts SADs from EDID
SYNOPSIS int drm_edid_to_sad (const struct edid *edid , struct cea_sad **sads );
ARGUMENTS edid EDID to parse
sads pointer that will be set to the extracted SADs
DESCRIPTION Looks for CEA EDID block and extracts SADs (Short Audio Descriptors) from ... |
drm_edid_to_speaker_allocation(9) | NAME drm_edid_to_speaker_allocation - extracts Speaker Allocation Data Blocks from EDID
SYNOPSIS int drm_edid_to_speaker_allocation (const struct edid *edid , u8 **sadb );
ARGUMENTS edid EDID to parse
sadb pointer to the speaker block
DESCRIPTION Looks for CEA EDID block and extracts the Speake... |
drm_edid_valid(9) | NAME drm_edid_valid - sanity check EDID data
SYNOPSIS bool drm_edid_valid (const struct drm_edid *drm_edid );
ARGUMENTS drm_edid EDID data
DESCRIPTION Sanity check an EDID. Cross check block count against allocated size and checksum the blocks.
RETURN True if the EDID data is valid, false otherwise.
SEE ALSO Ke... |
drm_edp_backlight_disable(9) | NAME drm_edp_backlight_disable - Disable an eDP backlight using DPCD, if supported
SYNOPSIS int drm_edp_backlight_disable (struct drm_dp_aux *aux , const struct drm_edp_backlight_info *bl );
ARGUMENTS aux The DP AUX channel to use
bl Backlight capability info from drm_edp_backlight_init
DESC... |
drm_edp_backlight_enable(9) | NAME drm_edp_backlight_enable - Enable an eDP panel's backlight using DPCD
SYNOPSIS int drm_edp_backlight_enable (struct drm_dp_aux *aux , const struct drm_edp_backlight_info *bl , const u32 level );
ARGUMENTS aux The DP AUX channel to use
bl Backlight capability info from drm_edp_backlight_i... |
drm_edp_backlight_init(9) | NAME drm_edp_backlight_init - Probe a display panel's TCON using the standard VESA eDP backlight interface.
SYNOPSIS int drm_edp_backlight_init (struct drm_dp_aux *aux , struct drm_edp_backlight_info *bl , u32 max_luminance , u16 driver_pwm_freq_hz , const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE] , u32 *current_level ,... |
drm_edp_backlight_set_level(9) | NAME drm_edp_backlight_set_level - Set the backlight level of an eDP panel via AUX
SYNOPSIS int drm_edp_backlight_set_level (struct drm_dp_aux *aux , const struct drm_edp_backlight_info *bl , u32 level );
ARGUMENTS aux The DP AUX channel to use
bl Backlight capability info from drm_edp_backli... |
drm_edp_backlight_supported(9) | NAME drm_edp_backlight_supported - Check an eDP DPCD for VESA backlight support
SYNOPSIS bool drm_edp_backlight_supported (const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE] );
ARGUMENTS edp_dpcd The DPCD to check
DESCRIPTION Note that currently this function will return false for panels which support various DPCD ... |
drm_eld_calc_baseline_block_size(9) | NAME drm_eld_calc_baseline_block_size - Calculate baseline block size in bytes
SYNOPSIS int drm_eld_calc_baseline_block_size (const u8 *eld );
ARGUMENTS eld pointer to an eld memory structure with mnl and sad_count set
DESCRIPTION This is a helper for determining the payload size of the baseline block, in by... |
drm_eld_get_conn_type(9) | NAME drm_eld_get_conn_type - Get device type hdmi/dp connected
SYNOPSIS u8 drm_eld_get_conn_type (const u8 *eld );
ARGUMENTS eld pointer to an ELD memory structure
DESCRIPTION The caller need to use DRM_ELD_CONN_TYPE_HDMI or DRM_ELD_CONN_TYPE_DP to identify the display type connected.
SEE ALSO Kernel file .... |
drm_eld_get_spk_alloc(9) | NAME drm_eld_get_spk_alloc - Get speaker allocation
SYNOPSIS u8 drm_eld_get_spk_alloc (const u8 *eld );
ARGUMENTS eld pointer to an ELD memory structure
DESCRIPTION The returned value is the speakers mask. User has to use DRM_ELD_SPEAKER field definitions to identify speakers.
SEE ALSO Kernel file ./include... |
drm_eld_mnl(9) | NAME drm_eld_mnl - Get ELD monitor name length in bytes.
SYNOPSIS int drm_eld_mnl (const u8 *eld );
ARGUMENTS eld pointer to an eld memory structure with mnl set
SEE ALSO Kernel file ./include/drm/drm_eld.h drm_eld_sad(9), drm_eld_sad_count(9), drm_eld_calc_baseline_block_size(9), drm_eld_size(9), drm_eld_ge... |
drm_eld_sad(9) | NAME drm_eld_sad - Get ELD SAD structures.
SYNOPSIS const u8 * drm_eld_sad (const u8 *eld );
ARGUMENTS eld pointer to an eld memory structure with sad_count set
SEE ALSO Kernel file ./include/drm/drm_eld.h drm_eld_mnl(9), drm_eld_sad_count(9), drm_eld_calc_baseline_block_size(9), drm_eld_size(9), drm_eld_get... |
drm_eld_sad_count(9) | NAME drm_eld_sad_count - Get ELD SAD count.
SYNOPSIS int drm_eld_sad_count (const u8 *eld );
ARGUMENTS eld pointer to an eld memory structure with sad_count set
SEE ALSO Kernel file ./include/drm/drm_eld.h drm_eld_mnl(9), drm_eld_sad(9), drm_eld_calc_baseline_block_size(9), drm_eld_size(9), drm_eld_get_spk_a... |
drm_eld_sad_get(9) | NAME drm_eld_sad_get - get SAD from ELD to struct cea_sad
SYNOPSIS int drm_eld_sad_get (const u8 *eld , int sad_index , struct cea_sad *cta_sad );
ARGUMENTS eld ELD buffer
sad_index SAD index
cta_sad destination struct cea_sad
RETURN 0 on success, or negative on errors
SEE ALSO Kernel ... |
drm_eld_sad_set(9) | NAME drm_eld_sad_set - set SAD to ELD from struct cea_sad
SYNOPSIS int drm_eld_sad_set (u8 *eld , int sad_index , const struct cea_sad *cta_sad );
ARGUMENTS eld ELD buffer
sad_index SAD index
cta_sad source struct cea_sad
RETURN 0 on success, or negative on errors
SEE ALSO Kernel file ... |
drm_eld_size(9) | NAME drm_eld_size - Get ELD size in bytes
SYNOPSIS int drm_eld_size (const u8 *eld );
ARGUMENTS eld pointer to a complete eld memory structure
DESCRIPTION The returned value does not include the vendor block. It's vendor specific, and comprises of the remaining bytes in the ELD memory buffer after drm_eld_... |
drm_encoder_cleanup(9) | NAME drm_encoder_cleanup - cleans up an initialised encoder
SYNOPSIS void drm_encoder_cleanup (struct drm_encoder *encoder );
ARGUMENTS encoder encoder to cleanup
DESCRIPTION Cleans up the encoder but doesn't free the object.
SEE ALSO Kernel file ./drivers/gpu/drm/drm_encoder.c Kernel API(9), drm_encoder_init(9... |
drm_encoder_crtc_ok(9) | NAME drm_encoder_crtc_ok - can a given crtc drive a given encoder?
SYNOPSIS bool drm_encoder_crtc_ok (struct drm_encoder *encoder , struct drm_crtc *crtc );
ARGUMENTS encoder encoder to test
crtc crtc to test
DESCRIPTION Returns false if encoder can't be driven by crtc, true otherwise.
SEE ALSO K... |
drm_encoder_find(9) | NAME drm_encoder_find - find a &drm_encoder
SYNOPSIS struct drm_encoder * drm_encoder_find (struct drm_device *dev , struct drm_file *file_priv , uint32_t id );
ARGUMENTS dev DRM device
file_priv drm file to check for lease against.
id encoder id
DESCRIPTION Returns the encoder wit... |
drm_encoder_helper_add(9) | NAME drm_encoder_helper_add - sets the helper vtable for an encoder
SYNOPSIS void drm_encoder_helper_add (struct drm_encoder *encoder , const struct drm_encoder_helper_funcs *funcs );
ARGUMENTS encoder DRM encoder
funcs helper vtable to set for encoder
SEE ALSO Kernel file ./include/drm/drm_modes... |
drm_encoder_index(9) | NAME drm_encoder_index - find the index of a registered encoder
SYNOPSIS unsigned int drm_encoder_index (const struct drm_encoder *encoder );
ARGUMENTS encoder encoder to find index for
DESCRIPTION Given a registered encoder, return the index of that encoder within a DRM device's list of encoders.
SEE ALSO Kern... |
drm_encoder_init(9) | NAME drm_encoder_init - Init a preallocated encoder
SYNOPSIS int drm_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 ca... |
drm_encoder_mask(9) | NAME drm_encoder_mask - find the mask of a registered encoder
SYNOPSIS u32 drm_encoder_mask (const struct drm_encoder *encoder );
ARGUMENTS encoder encoder to find mask for
DESCRIPTION Given a registered encoder, return the mask bit of that encoder for an encoder's possible_clones field.
SEE ALSO Kernel file ... |
drm_err_printer(9) | NAME drm_err_printer - construct a &drm_printer that outputs to drm_err()
SYNOPSIS struct drm_printer drm_err_printer (struct drm_device *drm , const char *prefix );
ARGUMENTS drm the struct drm_device pointer
prefix debug output prefix, or NULL for no prefix
RETURN The drm_printer object
SEE A... |
drm_event_cancel_free(9) | NAME drm_event_cancel_free - free a DRM event and release its space
SYNOPSIS void drm_event_cancel_free (struct drm_device *dev , struct drm_pending_event *p );
ARGUMENTS dev DRM device
p tracking structure for the pending event
DESCRIPTION This function frees the event p initialized with d... |
drm_event_reserve_init(9) | NAME drm_event_reserve_init - init a DRM event and reserve space for it
SYNOPSIS int drm_event_reserve_init (struct drm_device *dev , struct drm_file *file_priv , struct drm_pending_event *p , struct drm_event *e );
ARGUMENTS dev DRM device
file_priv DRM file private data
p trackin... |
drm_event_reserve_init_locked(9) | NAME drm_event_reserve_init_locked - init a DRM event and reserve space for it
SYNOPSIS int drm_event_reserve_init_locked (struct drm_device *dev , struct drm_file *file_priv , struct drm_pending_event *p , struct drm_event *e );
ARGUMENTS dev DRM device
file_priv DRM file private data
p ... |
drm_exec_cleanup(9) | NAME drm_exec_cleanup - cleanup when contention is detected
SYNOPSIS bool drm_exec_cleanup (struct drm_exec *exec );
ARGUMENTS exec the drm_exec object to cleanup
DESCRIPTION Cleanup the current state and return true if we should stay inside the retry loop, false if there wasn't any contention detected and we... |
drm_exec_fini(9) | NAME drm_exec_fini - finalize a drm_exec object
SYNOPSIS void drm_exec_fini (struct drm_exec *exec );
ARGUMENTS exec the drm_exec object to finalize
DESCRIPTION Unlock all locked objects, drop the references to objects and free all memory used for tracking the state.
SEE ALSO Kernel file ./drivers/gpu/drm/dr... |
drm_exec_for_each_locked_object(9) | NAME drm_exec_for_each_locked_object - iterate over all the locked objects
SYNOPSIS drm_exec_for_each_locked_object (exec , index , obj );
ARGUMENTS exec drm_exec object
index unsigned long index for the iteration
obj the current GEM object
DESCRIPTION Iterate over all the locked... |
drm_exec_for_each_locked_object_reverse(9) | NAME drm_exec_for_each_locked_object_reverse - iterate over all the locked objects in reverse locking order
SYNOPSIS drm_exec_for_each_locked_object_reverse (exec , index , obj );
ARGUMENTS exec drm_exec object
index unsigned long index for the iteration
obj the current GEM object... |
drm_exec_init(9) | NAME drm_exec_init - initialize a drm_exec object
SYNOPSIS void drm_exec_init (struct drm_exec *exec , u32 flags , unsigned nr );
ARGUMENTS exec the drm_exec object to initialize
flags controls locking behavior, see DRM_EXEC_* defines
nr the initial # of objects
DESCRIPTION Init... |
drm_exec_is_contended(9) | NAME drm_exec_is_contended - check for contention
SYNOPSIS bool drm_exec_is_contended (struct drm_exec *exec );
ARGUMENTS exec drm_exec object
DESCRIPTION Returns true if the drm_exec object has run into some contention while locking a GEM object and needs to clean up.
SEE ALSO Kernel file ./include/drm/drm_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.