id
stringlengths
4
63
text
stringlengths
153
8.81M
drm_crtc_vblank_helper_enable_vblank_timer(9)
NAME drm_crtc_vblank_helper_enable_vblank_timer - Implements struct &drm_crtc_funcs.enable_vblank SYNOPSIS int drm_crtc_vblank_helper_enable_vblank_timer (struct drm_crtc *crtc ); ARGUMENTS crtc The CRTC DESCRIPTION The helper drm_crtc_vblank_helper_enable_vblank_timer implements enable_vblank of struct drm_c...
drm_crtc_vblank_helper_get_vblank_timestamp(9)
NAME drm_crtc_vblank_helper_get_vblank_timestamp - precise vblank timestamp helper SYNOPSIS bool drm_crtc_vblank_helper_get_vblank_timestamp (struct drm_crtc *crtc , int *max_error , ktime_t *vblank_time , bool in_vblank_irq ); ARGUMENTS crtc CRTC whose vblank timestamp to retrieve max_error Desired ...
drm_crtc_vblank_helper_get_vblank_timestamp_from_timer(9)
NAME drm_crtc_vblank_helper_get_vblank_timestamp_from_timer - Implements struct &drm_crtc_funcs.get_vblank_timestamp SYNOPSIS bool drm_crtc_vblank_helper_get_vblank_timestamp_from_timer (struct drm_crtc *crtc , int *max_error , ktime_t *vblank_time , bool in_vblank_irq ); ARGUMENTS crtc The CRTC max_er...
drm_crtc_vblank_helper_get_vblank_timestamp_internal(9)
NAME drm_crtc_vblank_helper_get_vblank_timestamp_internal - precise vblank timestamp helper SYNOPSIS bool drm_crtc_vblank_helper_get_vblank_timestamp_internal (struct drm_crtc *crtc , int *max_error , ktime_t *vblank_time , bool in_vblank_irq , drm_vblank_get_scanout_position_func get_scanout_position ); ARGUMENTS cr...
drm_crtc_vblank_off(9)
NAME drm_crtc_vblank_off - disable vblank events on a CRTC SYNOPSIS void drm_crtc_vblank_off (struct drm_crtc *crtc ); ARGUMENTS crtc CRTC in question DESCRIPTION Drivers can use this function to shut down the vblank interrupt handling when disabling a crtc. This function ensures that the latest vblank frame...
drm_crtc_vblank_on(9)
NAME drm_crtc_vblank_on - enable vblank events on a CRTC SYNOPSIS void drm_crtc_vblank_on (struct drm_crtc *crtc ); ARGUMENTS crtc CRTC in question DESCRIPTION This functions restores the vblank interrupt state captured with drm_crtc_vblank_off again and is generally called when enabling crtc. Note that calls...
drm_crtc_vblank_on_config(9)
NAME drm_crtc_vblank_on_config - enable vblank events on a CRTC with custom configuration options SYNOPSIS void drm_crtc_vblank_on_config (struct drm_crtc *crtc , const struct drm_vblank_crtc_config *config ); ARGUMENTS crtc CRTC in question config Vblank configuration value DESCRIPTION See drm_...
drm_crtc_vblank_put(9)
NAME drm_crtc_vblank_put - give up ownership of vblank events SYNOPSIS void drm_crtc_vblank_put (struct drm_crtc *crtc ); ARGUMENTS crtc which counter to give up DESCRIPTION Release ownership of a given vblank counter, turning off interrupts if possible. Disable interrupts after drm_vblank_crtc_config.offdela...
drm_crtc_vblank_reset(9)
NAME drm_crtc_vblank_reset - reset vblank state to off on a CRTC SYNOPSIS void drm_crtc_vblank_reset (struct drm_crtc *crtc ); ARGUMENTS crtc CRTC in question DESCRIPTION Drivers can use this function to reset the vblank state to off at load time. Drivers should use this together with the drm_crtc_vblank_of...
drm_crtc_vblank_restore(9)
NAME drm_crtc_vblank_restore - estimate missed vblanks and update vblank count. SYNOPSIS void drm_crtc_vblank_restore (struct drm_crtc *crtc ); ARGUMENTS crtc CRTC in question DESCRIPTION Power manamement features can cause frame counter resets between vblank disable and enable. Drivers can use this func...
drm_crtc_vblank_start_timer(9)
NAME drm_crtc_vblank_start_timer - Starts the vblank timer on the given CRTC SYNOPSIS int drm_crtc_vblank_start_timer (struct drm_crtc *crtc ); ARGUMENTS crtc the CRTC DESCRIPTION Drivers should call this function from their CRTC's enable_vblank function to start a vblank timer. The timer will fire after the ...
drm_crtc_vblank_waitqueue(9)
NAME drm_crtc_vblank_waitqueue - get vblank waitqueue for the CRTC SYNOPSIS wait_queue_head_t * drm_crtc_vblank_waitqueue (struct drm_crtc *crtc ); ARGUMENTS crtc which CRTC's vblank waitqueue to retrieve DESCRIPTION This function returns a pointer to the vblank waitqueue for the CRTC. Drivers can use this t...
drm_crtc_wait_one_vblank(9)
NAME drm_crtc_wait_one_vblank - wait for one vblank SYNOPSIS int drm_crtc_wait_one_vblank (struct drm_crtc *crtc ); ARGUMENTS crtc DRM crtc DESCRIPTION This waits for one vblank to pass on crtc, using the irq driver interfaces. It is a failure to call this when the vblank irq for crtc is disabled, e.g. due ...
drm_cvt_mode(9)
NAME drm_cvt_mode - create a modeline based on the CVT algorithm SYNOPSIS struct drm_display_mode * drm_cvt_mode (struct drm_device *dev , int hdisplay , int vdisplay , int vrefresh , bool reduced , bool interlaced , bool margins ); ARGUMENTS dev drm device hdisplay hdisplay size vdisplay ...
drm_dbg_printer(9)
NAME drm_dbg_printer - construct a &drm_printer for drm device specific output SYNOPSIS struct drm_printer drm_dbg_printer (struct drm_device *drm , enum drm_debug_category category , const char *prefix ); ARGUMENTS drm the struct drm_device pointer, or NULL category the debug category to use ...
drm_debugfs_add_file(9)
NAME drm_debugfs_add_file - Add a given file to the DRM device debugfs file list SYNOPSIS void drm_debugfs_add_file (struct drm_device *dev , const char *name , int (*show)(struct seq_file*, void*) , void *data ); ARGUMENTS dev drm device for the ioctl name debugfs file name show ...
drm_debugfs_add_files(9)
NAME drm_debugfs_add_files - Add an array of files to the DRM device debugfs file list SYNOPSIS void drm_debugfs_add_files (struct drm_device *dev , const struct drm_debugfs_info *files , int count ); ARGUMENTS dev drm device for the ioctl files The array of files to create count T...
drm_debugfs_clients_add(9)
NAME drm_debugfs_clients_add - Add a per client debugfs directory SYNOPSIS void drm_debugfs_clients_add (struct drm_file *file ); ARGUMENTS file drm_file for a client DESCRIPTION Create the debugfs directory for each client. This will be used to populate driver specific data for each client. Also add...
drm_debugfs_clients_remove(9)
NAME drm_debugfs_clients_remove - removes all debugfs directories and files SYNOPSIS void drm_debugfs_clients_remove (struct drm_file *file ); ARGUMENTS file drm_file for a client DESCRIPTION Removes the debugfs directories recursively from the client directory. There is also a possibility that debugfs files...
drm_debugfs_create_files(9)
NAME drm_debugfs_create_files - Initialize a given set of debugfs files for DRM minor SYNOPSIS void drm_debugfs_create_files (const struct drm_info_list *files , int count , struct dentry *root , struct drm_minor *minor ); ARGUMENTS files The array of files to create count The number of files give...
drm_debugfs_dev_fini(9)
NAME drm_debugfs_dev_fini - cleanup debugfs directory SYNOPSIS void drm_debugfs_dev_fini (struct drm_device *dev ); ARGUMENTS dev the device to cleanup the debugfs stuff DESCRIPTION Remove the debugfs directory, might be called multiple times. SEE ALSO Kernel file ./drivers/gpu/drm/drm_debugfs.c drm_debu...
drm_debugfs_dev_init(9)
NAME drm_debugfs_dev_init - create debugfs directory for the device SYNOPSIS void drm_debugfs_dev_init (struct drm_device *dev ); ARGUMENTS dev the device which we want to create the directory for DESCRIPTION Creates the debugfs directory for the device under the given root directory. SEE ALSO Kernel file ....
drm_debugfs_gpuva_info(9)
NAME drm_debugfs_gpuva_info - dump the given DRM GPU VA space SYNOPSIS int drm_debugfs_gpuva_info (struct seq_file *m , struct drm_gpuvm *gpuvm ); ARGUMENTS m pointer to the seq_file to write gpuvm the drm_gpuvm representing the GPU VA space DESCRIPTION Dumps the GPU VA mappings of a given DR...
drm_default_rgb_quant_range(9)
NAME drm_default_rgb_quant_range - default RGB quantization range SYNOPSIS enum hdmi_quantization_range drm_default_rgb_quant_range (const struct drm_display_mode *mode ); ARGUMENTS mode display mode DESCRIPTION Determine the default RGB quantization range for the mode, as specified in CEA-861. RETURN The de...
drm_detect_hdmi_monitor(9)
NAME drm_detect_hdmi_monitor - detect whether monitor is HDMI SYNOPSIS bool drm_detect_hdmi_monitor (const struct edid *edid ); ARGUMENTS edid monitor EDID information DESCRIPTION Parse the CEA extension according to CEA-861-B. Drivers that have added the modes parsed from EDID to drm_display_info should use...
drm_detect_monitor_audio(9)
NAME drm_detect_monitor_audio - check monitor audio capability SYNOPSIS bool drm_detect_monitor_audio (const struct edid *edid ); ARGUMENTS edid EDID block to scan DESCRIPTION Monitor should have CEA extension block. If monitor has 'basic audio', but no CEA audio blocks, it's 'basic audio' only. If there...
drm_dev_alloc(9)
NAME drm_dev_alloc - Allocate new DRM device SYNOPSIS struct drm_device * drm_dev_alloc (const struct drm_driver *driver , struct device *parent ); ARGUMENTS driver DRM driver to allocate device for parent Parent device object DESCRIPTION This is the deprecated version of devm_drm_dev_alloc, which ...
drm_dev_dma_dev(9)
NAME drm_dev_dma_dev - returns the DMA device for a DRM device SYNOPSIS struct device * drm_dev_dma_dev (struct drm_device *dev ); ARGUMENTS dev DRM device DESCRIPTION Returns the DMA device of the given DRM device. By default, this the DRM device's parent. See drm_dev_set_dma_dev. RETURN A DMA-capable devi...
drm_dev_enter(9)
NAME drm_dev_enter - Enter device critical section SYNOPSIS bool drm_dev_enter (struct drm_device *dev , int *idx ); ARGUMENTS dev DRM device idx Pointer to index that will be passed to the matching drm_dev_exit DESCRIPTION This function marks and protects the beginning of a section that shou...
drm_dev_exit(9)
NAME drm_dev_exit - Exit device critical section SYNOPSIS void drm_dev_exit (int idx ); ARGUMENTS idx index returned from drm_dev_enter DESCRIPTION This function marks the end of a section that should not be entered after the device has been unplugged. SEE ALSO Kernel file ./drivers/gpu/drm/drm_drv.c Ker...
drm_dev_get(9)
NAME drm_dev_get - Take reference of a DRM device SYNOPSIS void drm_dev_get (struct drm_device *dev ); ARGUMENTS dev device to take reference of or NULL DESCRIPTION This increases the ref-count of dev by one. You *must* already own a reference when calling this. Use drm_dev_put to drop this reference aga...
drm_dev_has_vblank(9)
NAME drm_dev_has_vblank - test if vblanking has been initialized for a device SYNOPSIS bool drm_dev_has_vblank (const struct drm_device *dev ); ARGUMENTS dev the device DESCRIPTION Drivers may call this function to test if vblank support is initialized for a device. For most hardware this ...
drm_dev_is_unplugged(9)
NAME drm_dev_is_unplugged - is a DRM device unplugged SYNOPSIS bool drm_dev_is_unplugged (struct drm_device *dev ); ARGUMENTS dev DRM device DESCRIPTION This function can be called to check whether a hotpluggable is unplugged. Unplugging itself is singalled through drm_dev_unplug. If a device is unplu...
drm_dev_put(9)
NAME drm_dev_put - Drop reference of a DRM device SYNOPSIS void drm_dev_put (struct drm_device *dev ); ARGUMENTS dev device to drop reference of or NULL DESCRIPTION This decreases the ref-count of dev by one. The device is destroyed if the ref-count drops to zero. SEE ALSO Kernel file ./drivers/gpu/drm/drm...
drm_dev_register(9)
NAME drm_dev_register - Register DRM device SYNOPSIS int drm_dev_register (struct drm_device *dev , unsigned long flags ); ARGUMENTS dev Device to register flags Flags passed to the driver's .load function DESCRIPTION Register the DRM device dev with the system, advertise device to user-space a...
drm_dev_set_dma_dev(9)
NAME drm_dev_set_dma_dev - set the DMA device for a DRM device SYNOPSIS void drm_dev_set_dma_dev (struct drm_device *dev , struct device *dma_dev ); ARGUMENTS dev DRM device dma_dev DMA device or NULL DESCRIPTION Sets the DMA device of the given DRM device. Only required if the DMA device is dif...
drm_dev_unplug(9)
NAME drm_dev_unplug - unplug a DRM device SYNOPSIS void drm_dev_unplug (struct drm_device *dev ); ARGUMENTS dev DRM device DESCRIPTION This unplugs a hotpluggable DRM device, which makes it inaccessible to userspace operations. Entry-points can use drm_dev_enter and drm_dev_exit to protect device resources i...
drm_dev_unregister(9)
NAME drm_dev_unregister - Unregister DRM device SYNOPSIS void drm_dev_unregister (struct drm_device *dev ); ARGUMENTS dev Device to unregister DESCRIPTION Unregister the DRM device from the system. This does the reverse of drm_dev_register but does not deallocate the device. The caller must call drm_dev_put ...
drm_dev_wedged_event(9)
NAME drm_dev_wedged_event - generate a device wedged uevent SYNOPSIS int drm_dev_wedged_event (struct drm_device *dev , unsigned long method , struct drm_wedge_task_info *info ); ARGUMENTS dev DRM device method method(s) to be used for recovery info optional information about the g...
drm_display_info_set_bus_formats(9)
NAME drm_display_info_set_bus_formats - set the supported bus formats SYNOPSIS int drm_display_info_set_bus_formats (struct drm_display_info *info , const u32 *formats , unsigned int num_formats ); ARGUMENTS info display info to store bus formats in formats array containing the supported bus format...
drm_display_mode_from_cea_vic(9)
NAME drm_display_mode_from_cea_vic - return a mode for CEA VIC SYNOPSIS struct drm_display_mode * drm_display_mode_from_cea_vic (struct drm_device *dev , u8 video_code ); ARGUMENTS dev DRM device video_code CEA VIC of the mode DESCRIPTION Creates a new mode matching the specified CEA VIC. RETURN A ...
drm_display_mode_from_videomode(9)
NAME drm_display_mode_from_videomode - fill in @dmode using @vm, SYNOPSIS void drm_display_mode_from_videomode (const struct videomode *vm , struct drm_display_mode *dmode ); ARGUMENTS vm videomode structure to use as source dmode drm_display_mode structure to use as destination DESCRIPTION Fi...
drm_display_mode_to_videomode(9)
NAME drm_display_mode_to_videomode - fill in @vm using @dmode, SYNOPSIS void drm_display_mode_to_videomode (const struct drm_display_mode *dmode , struct videomode *vm ); ARGUMENTS dmode drm_display_mode structure to use as source vm videomode structure to use as destination DESCRIPTION Fills ...
drm_do_probe_ddc_edid(9)
NAME drm_do_probe_ddc_edid - get EDID information via I2C SYNOPSIS int drm_do_probe_ddc_edid (void *data , u8 *buf , unsigned int block , size_t len ); ARGUMENTS data I2C device adapter buf EDID data buffer to be filled block 128 byte EDID block to start fetching from len ...
drm_dp_add_payload_part1(9)
NAME drm_dp_add_payload_part1 - Execute payload update part 1 SYNOPSIS int drm_dp_add_payload_part1 (struct drm_dp_mst_topology_mgr *mgr , struct drm_dp_mst_topology_state *mst_state , struct drm_dp_mst_atomic_payload *payload ); ARGUMENTS mgr Manager to use. mst_state The MST atomic state p...
drm_dp_add_payload_part2(9)
NAME drm_dp_add_payload_part2 - Execute payload update part 2 SYNOPSIS int drm_dp_add_payload_part2 (struct drm_dp_mst_topology_mgr *mgr , struct drm_dp_mst_atomic_payload *payload ); ARGUMENTS mgr Manager to use. payload The payload to update DESCRIPTION If payload was successfully assigned a st...
drm_dp_as_sdp_supported(9)
NAME drm_dp_as_sdp_supported - check if adaptive sync sdp is supported SYNOPSIS bool drm_dp_as_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 adaptive sync sdp ...
drm_dp_atomic_find_time_slots(9)
NAME drm_dp_atomic_find_time_slots - Find and add time slots to the state SYNOPSIS int drm_dp_atomic_find_time_slots (struct drm_atomic_state *state , struct drm_dp_mst_topology_mgr *mgr , struct drm_dp_mst_port *port , int pbn ); ARGUMENTS state global atomic state mgr MST topology manager for ...
drm_dp_atomic_release_time_slots(9)
NAME drm_dp_atomic_release_time_slots - Release allocated time slots SYNOPSIS int drm_dp_atomic_release_time_slots (struct drm_atomic_state *state , struct drm_dp_mst_topology_mgr *mgr , struct drm_dp_mst_port *port ); ARGUMENTS state global atomic state mgr MST topology manager for the port ...
drm_dp_aux_init(9)
NAME drm_dp_aux_init - minimally initialise an aux channel SYNOPSIS void drm_dp_aux_init (struct drm_dp_aux *aux ); ARGUMENTS aux DisplayPort AUX channel DESCRIPTION If you need to use the drm_dp_aux's i2c adapter prior to registering it with the outside world, call drm_dp_aux_init first. For drivers which...
drm_dp_aux_register(9)
NAME drm_dp_aux_register - initialise and register aux channel SYNOPSIS int drm_dp_aux_register (struct drm_dp_aux *aux ); ARGUMENTS aux DisplayPort AUX channel DESCRIPTION Automatically calls drm_dp_aux_init if this hasn't been done yet. This should only be called once the parent of aux, drm_dp_aux.dev, is ...
drm_dp_aux_unregister(9)
NAME drm_dp_aux_unregister - unregister an AUX adapter SYNOPSIS void drm_dp_aux_unregister (struct drm_dp_aux *aux ); ARGUMENTS aux DisplayPort AUX channel SEE ALSO Kernel file ./drivers/gpu/drm/display/drm_dp_helper.c Kernel API(9), drm_dp_phy_name(9), drm_dp_lttpr_wake_timeout_setup(9), Kernel API(9)...
drm_dp_bw_channel_coding_efficiency(9)
NAME drm_dp_bw_channel_coding_efficiency - Get a DP link's channel coding efficiency SYNOPSIS int drm_dp_bw_channel_coding_efficiency (bool is_uhbr ); ARGUMENTS is_uhbr Whether the link has a 128b/132b channel coding DESCRIPTION Return the channel coding efficiency of the given DP link type, which is either 8b/1...
drm_dp_bw_overhead(9)
NAME drm_dp_bw_overhead - Calculate the BW overhead of a DP link stream SYNOPSIS int drm_dp_bw_overhead (int lane_count , int hactive , int dsc_slice_count , int bpp_x16 , unsigned long flags ); ARGUMENTS lane_count DP link lane count hactive pixel count of the active period in one scanline of the stream...
drm_dp_calc_pbn_mode(9)
NAME drm_dp_calc_pbn_mode - Calculate the PBN for a mode. SYNOPSIS int drm_dp_calc_pbn_mode (int clock , int bpp ); ARGUMENTS clock dot clock bpp bpp as .4 binary fixed point DESCRIPTION This uses the formula in the spec to calculate the PBN value for a mode. SEE ALSO Kernel file ./drivers/g...
drm_dp_cec_irq(9)
NAME drm_dp_cec_irq - handle CEC interrupt, if any SYNOPSIS void drm_dp_cec_irq (struct drm_dp_aux *aux ); ARGUMENTS aux DisplayPort AUX channel DESCRIPTION Should be called when handling an IRQ_HPD request. If CEC-tunneling-over-AUX is present, then it will check for a CEC_IRQ and handle it accordingly. SE...
drm_dp_cec_register_connector(9)
NAME drm_dp_cec_register_connector - register a new connector SYNOPSIS void drm_dp_cec_register_connector (struct drm_dp_aux *aux , struct drm_connector *connector ); ARGUMENTS aux DisplayPort AUX channel connector drm connector DESCRIPTION A new connector was registered with associated CEC adapt...
drm_dp_cec_unregister_connector(9)
NAME drm_dp_cec_unregister_connector - unregister the CEC adapter, if any SYNOPSIS void drm_dp_cec_unregister_connector (struct drm_dp_aux *aux ); ARGUMENTS aux DisplayPort AUX channel SEE ALSO Kernel file ./drivers/gpu/drm/display/drm_dp_cec.c Kernel API(9), drm_dp_cec_irq(9), drm_dp_cec_register_connector(...
drm_dp_check_act_status(9)
NAME drm_dp_check_act_status - Polls for ACT handled status. SYNOPSIS int drm_dp_check_act_status (struct drm_dp_mst_topology_mgr *mgr ); ARGUMENTS mgr manager to use DESCRIPTION Tries waiting for the MST hub to finish updating it's payload table by polling for the ACT handled bit for up to 3 seconds (yes-so...
drm_dp_downstream_420_passthrough(9)
NAME drm_dp_downstream_420_passthrough - determine downstream facing port YCbCr 4:2:0 pass-through capability SYNOPSIS bool drm_dp_downstream_420_passthrough (const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] ); ARGUMENTS dpcd DisplayPort configuration data port_cap downstream facing port c...
drm_dp_downstream_444_to_420_conversion(9)
NAME drm_dp_downstream_444_to_420_conversion - determine downstream facing port YCbCr 4:4:4->4:2:0 conversion capability SYNOPSIS bool drm_dp_downstream_444_to_420_conversion (const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] ); ARGUMENTS dpcd DisplayPort configuration data port_cap downstr...
drm_dp_downstream_debug(9)
NAME drm_dp_downstream_debug - debug DP branch devices SYNOPSIS void drm_dp_downstream_debug (struct seq_file *m , const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] , const struct drm_edid *drm_edid , struct drm_dp_aux *aux ); ARGUMENTS m pointer for debugfs file dpcd DisplayPort con...
drm_dp_downstream_id(9)
NAME drm_dp_downstream_id - identify branch device SYNOPSIS int drm_dp_downstream_id (struct drm_dp_aux *aux , char id[6] ); ARGUMENTS aux DisplayPort AUX channel id DisplayPort branch device id DESCRIPTION Returns branch device id on success or NULL on failure SEE ALSO Kernel file ./driv...
drm_dp_downstream_is_tmds(9)
NAME drm_dp_downstream_is_tmds - is the downstream facing port TMDS? SYNOPSIS bool drm_dp_downstream_is_tmds (const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] , const struct drm_edid *drm_edid ); ARGUMENTS dpcd DisplayPort configuration data port_cap port capabilities drm_edid E...
drm_dp_downstream_is_type(9)
NAME drm_dp_downstream_is_type - is the downstream facing port of certain type? SYNOPSIS bool drm_dp_downstream_is_type (const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] , u8 type ); ARGUMENTS dpcd DisplayPort configuration data port_cap port capabilities type port type to b...
drm_dp_downstream_max_bpc(9)
NAME drm_dp_downstream_max_bpc - extract downstream facing port max bits per component SYNOPSIS int drm_dp_downstream_max_bpc (const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] , const struct drm_edid *drm_edid ); ARGUMENTS dpcd DisplayPort configuration data port_cap downstream facing port...
drm_dp_downstream_max_dotclock(9)
NAME drm_dp_downstream_max_dotclock - extract downstream facing port max dot clock SYNOPSIS int drm_dp_downstream_max_dotclock (const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] ); ARGUMENTS dpcd DisplayPort configuration data port_cap port capabilities RETURN Downstream facing port max do...
drm_dp_downstream_max_tmds_clock(9)
NAME drm_dp_downstream_max_tmds_clock - extract downstream facing port max TMDS clock SYNOPSIS int drm_dp_downstream_max_tmds_clock (const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] , const struct drm_edid *drm_edid ); ARGUMENTS dpcd DisplayPort configuration data port_cap port capabilitie...
drm_dp_downstream_min_tmds_clock(9)
NAME drm_dp_downstream_min_tmds_clock - extract downstream facing port min TMDS clock SYNOPSIS int drm_dp_downstream_min_tmds_clock (const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] , const struct drm_edid *drm_edid ); ARGUMENTS dpcd DisplayPort configuration data port_cap port capabilitie...
drm_dp_downstream_mode(9)
NAME drm_dp_downstream_mode - return a mode for downstream facing port SYNOPSIS struct drm_display_mode * drm_dp_downstream_mode (struct drm_device *dev , const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] ); ARGUMENTS dev DRM device dpcd DisplayPort configuration data port_cap ...
drm_dp_downstream_rgb_to_ycbcr_conversion(9)
NAME drm_dp_downstream_rgb_to_ycbcr_conversion - determine downstream facing port RGB->YCbCr conversion capability SYNOPSIS bool drm_dp_downstream_rgb_to_ycbcr_conversion (const u8 dpcd[DP_RECEIVER_CAP_SIZE] , const u8 port_cap[4] , u8 color_spc ); ARGUMENTS dpcd DisplayPort configuration data port_cap...
drm_dp_dpcd_clear_payload(9)
NAME drm_dp_dpcd_clear_payload - Clear the entire VC Payload ID table SYNOPSIS int drm_dp_dpcd_clear_payload (struct drm_dp_aux *aux ); ARGUMENTS aux DisplayPort AUX channel DESCRIPTION Clear the entire VC Payload ID table. RETURN 0 on success, negative error code on errors. SEE ALSO Kernel file ./driver...
drm_dp_dpcd_poll_act_handled(9)
NAME drm_dp_dpcd_poll_act_handled - Poll for ACT handled status SYNOPSIS int drm_dp_dpcd_poll_act_handled (struct drm_dp_aux *aux , int timeout_ms ); ARGUMENTS aux DisplayPort AUX channel timeout_ms Timeout in ms DESCRIPTION Try waiting for the sink to finish updating its payload table by polling fo...
drm_dp_dpcd_probe(9)
NAME drm_dp_dpcd_probe - probe a given DPCD address with a 1-byte read access SYNOPSIS int drm_dp_dpcd_probe (struct drm_dp_aux *aux , unsigned int offset ); ARGUMENTS aux DisplayPort AUX channel (SST) offset address of the register to probe DESCRIPTION Probe the provided DPCD address by reading...
drm_dp_dpcd_read(9)
NAME drm_dp_dpcd_read - read a series of bytes from the DPCD SYNOPSIS ssize_t drm_dp_dpcd_read (struct drm_dp_aux *aux , unsigned int offset , void *buffer , size_t size ); ARGUMENTS aux DisplayPort AUX channel (SST or MST) offset address of the (first) register to read buffer buffer...
drm_dp_dpcd_read_byte(9)
NAME drm_dp_dpcd_read_byte - read a single byte from the DPCD SYNOPSIS int drm_dp_dpcd_read_byte (struct drm_dp_aux *aux , unsigned int offset , u8 *valuep ); ARGUMENTS aux DisplayPort AUX channel offset address of the register to read valuep location where the value of the register ...
drm_dp_dpcd_read_data(9)
NAME drm_dp_dpcd_read_data - read a series of bytes from the DPCD SYNOPSIS int drm_dp_dpcd_read_data (struct drm_dp_aux *aux , unsigned int offset , void *buffer , size_t size ); ARGUMENTS aux DisplayPort AUX channel (SST or MST) offset address of the (first) register to read buffer ...
drm_dp_dpcd_read_link_status(9)
NAME drm_dp_dpcd_read_link_status - read DPCD link status (bytes 0x202-0x207) SYNOPSIS int drm_dp_dpcd_read_link_status (struct drm_dp_aux *aux , u8 status[DP_LINK_STATUS_SIZE] ); ARGUMENTS aux DisplayPort AUX channel status buffer to store the link status in (must be at least 6 bytes) DESCRIPTI...
drm_dp_dpcd_read_phy_link_status(9)
NAME drm_dp_dpcd_read_phy_link_status - get the link status information for a DP PHY SYNOPSIS int drm_dp_dpcd_read_phy_link_status (struct drm_dp_aux *aux , enum drm_dp_phy dp_phy , u8 link_status[DP_LINK_STATUS_SIZE] ); ARGUMENTS aux DisplayPort AUX channel dp_phy the DP PHY to get the link stat...
drm_dp_dpcd_readb(9)
NAME drm_dp_dpcd_readb - read a single byte from the DPCD SYNOPSIS ssize_t drm_dp_dpcd_readb (struct drm_dp_aux *aux , unsigned int offset , u8 *valuep ); ARGUMENTS aux DisplayPort AUX channel offset address of the register to read valuep location where the value of the register will...
drm_dp_dpcd_set_powered(9)
NAME drm_dp_dpcd_set_powered - Set whether the DP device is powered SYNOPSIS void drm_dp_dpcd_set_powered (struct drm_dp_aux *aux , bool powered ); ARGUMENTS aux DisplayPort AUX channel; for convenience it's OK to pass NULL here and the function will be a no-op. powered true if powered; false if n...
drm_dp_dpcd_set_probe(9)
NAME drm_dp_dpcd_set_probe - Set whether a probing before DPCD access is done SYNOPSIS void drm_dp_dpcd_set_probe (struct drm_dp_aux *aux , bool enable ); ARGUMENTS aux DisplayPort AUX channel enable Enable the probing if required SEE ALSO Kernel file ./drivers/gpu/drm/display/drm_dp_helper.c ...
drm_dp_dpcd_write(9)
NAME drm_dp_dpcd_write - write a series of bytes to the DPCD SYNOPSIS ssize_t drm_dp_dpcd_write (struct drm_dp_aux *aux , unsigned int offset , void *buffer , size_t size ); ARGUMENTS aux DisplayPort AUX channel (SST or MST) offset address of the (first) register to write buffer buff...
drm_dp_dpcd_write_byte(9)
NAME drm_dp_dpcd_write_byte - write a single byte to the DPCD SYNOPSIS int drm_dp_dpcd_write_byte (struct drm_dp_aux *aux , unsigned int offset , u8 value ); ARGUMENTS aux DisplayPort AUX channel offset address of the register to write value value to write to the register DESCRIPTI...
drm_dp_dpcd_write_data(9)
NAME drm_dp_dpcd_write_data - write a series of bytes to the DPCD SYNOPSIS int drm_dp_dpcd_write_data (struct drm_dp_aux *aux , unsigned int offset , void *buffer , size_t size ); ARGUMENTS aux DisplayPort AUX channel (SST or MST) offset address of the (first) register to write buffer ...
drm_dp_dpcd_write_payload(9)
NAME drm_dp_dpcd_write_payload - Write Virtual Channel information to payload table SYNOPSIS int drm_dp_dpcd_write_payload (struct drm_dp_aux *aux , int vcpid , u8 start_time_slot , u8 time_slot_count ); ARGUMENTS aux DisplayPort AUX channel vcpid Virtual Channel Payload ID start_time_sl...
drm_dp_dpcd_writeb(9)
NAME drm_dp_dpcd_writeb - write a single byte to the DPCD SYNOPSIS ssize_t drm_dp_dpcd_writeb (struct drm_dp_aux *aux , unsigned int offset , u8 value ); ARGUMENTS aux DisplayPort AUX channel offset address of the register to write value value to write to the register DESCRIPTION R...
drm_dp_dsc_branch_max_line_width(9)
NAME drm_dp_dsc_branch_max_line_width - Branch device's max DSC line width SYNOPSIS int drm_dp_dsc_branch_max_line_width (const u8 dsc_branch_dpcd[DP_DSC_BRANCH_CAP_SIZE] ); ARGUMENTS dsc_branch_dpcd DSC branch capabilities from DPCD DESCRIPTION Return the branch device's maximum overall DSC line width, based on the...
drm_dp_dsc_branch_max_overall_throughput(9)
NAME drm_dp_dsc_branch_max_overall_throughput - Branch device's max overall DSC pixel throughput SYNOPSIS int drm_dp_dsc_branch_max_overall_throughput (const u8 dsc_branch_dpcd[DP_DSC_BRANCH_CAP_SIZE] , bool is_rgb_yuv444 ); ARGUMENTS dsc_branch_dpcd DSC branch capabilities from DPCD is_rgb_yuv444 ...
drm_dp_dsc_sink_bpp_incr(9)
NAME drm_dp_dsc_sink_bpp_incr - Get bits per pixel increment SYNOPSIS u8 drm_dp_dsc_sink_bpp_incr (const u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE] ); ARGUMENTS dsc_dpcd DSC capabilities from DPCD DESCRIPTION Returns the bpp precision supported by the DP sink. SEE ALSO Kernel file ./drivers/gpu/drm/display/drm_dp_h...
drm_dp_dsc_sink_line_buf_depth(9)
NAME drm_dp_dsc_sink_line_buf_depth - Get the line buffer depth in bits SYNOPSIS u8 drm_dp_dsc_sink_line_buf_depth (const u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE] ); ARGUMENTS dsc_dpcd DSC capabilities from DPCD DESCRIPTION Read the DSC DPCD register to parse the line buffer depth in bits which is number of bits ...
drm_dp_dsc_sink_max_slice_count(9)
NAME drm_dp_dsc_sink_max_slice_count - Get the max slice count supported by the DSC sink. SYNOPSIS u8 drm_dp_dsc_sink_max_slice_count (const u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE] , bool is_edp ); ARGUMENTS dsc_dpcd DSC capabilities from DPCD is_edp true if its eDP, false for DP DESCRIPTION Read the ...
drm_dp_dsc_sink_max_slice_throughput(9)
NAME drm_dp_dsc_sink_max_slice_throughput - Get a DSC sink's maximum pixel throughput per slice SYNOPSIS int drm_dp_dsc_sink_max_slice_throughput (const u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE] , int peak_pixel_rate , bool is_rgb_yuv444 ); ARGUMENTS dsc_dpcd DSC sink's capabilities from DPCD peak_pixel_rate ...
drm_dp_dsc_sink_slice_count_mask(9)
NAME drm_dp_dsc_sink_slice_count_mask - Get the mask of valid DSC sink slice counts SYNOPSIS u32 drm_dp_dsc_sink_slice_count_mask (const u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE] , bool is_edp ); ARGUMENTS dsc_dpcd the sink's DSC DPCD capabilities is_edp true for an eDP sink DESCRIPTION Get the mask of s...
drm_dp_dsc_sink_supported_input_bpcs(9)
NAME drm_dp_dsc_sink_supported_input_bpcs - Get all the input bits per component values supported by the DSC sink. SYNOPSIS int drm_dp_dsc_sink_supported_input_bpcs (const u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE] , u8 dsc_bpc[3] ); ARGUMENTS dsc_dpcd DSC capabilities from DPCD dsc_bpc An array to be fille...
drm_dp_dsc_sink_supports_format(9)
NAME drm_dp_dsc_sink_supports_format - check if sink supports DSC with given output format SYNOPSIS bool drm_dp_dsc_sink_supports_format (const u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE] , u8 output_format ); ARGUMENTS dsc_dpcd DSC-capability DPCDs of the sink output_format output_format whic...
drm_dp_dsc_slice_count_to_mask(9)
NAME drm_dp_dsc_slice_count_to_mask - Convert a slice count to a slice count mask SYNOPSIS u32 drm_dp_dsc_slice_count_to_mask (int slice_count ); ARGUMENTS slice_count slice count DESCRIPTION Convert slice_count to a slice count mask. Returns the slice count mask. SEE ALSO Kernel file ./drivers/gpu/drm/display/d...
drm_dp_dual_mode_detect(9)
NAME drm_dp_dual_mode_detect - Identify the DP dual mode adaptor SYNOPSIS enum drm_dp_dual_mode_type drm_dp_dual_mode_detect (const struct drm_device *dev , struct i2c_adapter *adapter ); ARGUMENTS dev drm_device to use adapter I2C adapter for the DDC bus DESCRIPTION Attempt to identify the typ...
drm_dp_dual_mode_get_tmds_output(9)
NAME drm_dp_dual_mode_get_tmds_output - Get the state of the TMDS output buffers in the DP dual mode adaptor SYNOPSIS int drm_dp_dual_mode_get_tmds_output (const struct drm_device *dev , enum drm_dp_dual_mode_type type , struct i2c_adapter *adapter , bool *enabled ); ARGUMENTS dev drm_device to use ty...
drm_dp_dual_mode_max_tmds_clock(9)
NAME drm_dp_dual_mode_max_tmds_clock - Max TMDS clock for DP dual mode adaptor SYNOPSIS int drm_dp_dual_mode_max_tmds_clock (const struct drm_device *dev , enum drm_dp_dual_mode_type type , struct i2c_adapter *adapter ); ARGUMENTS dev drm_device to use type DP dual mode adaptor type ada...