XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_connector_hdmi_funcs Struct Reference

#include <drm_connector.h>

Collaboration diagram for drm_connector_hdmi_funcs:
Collaboration graph
[legend]

Public Attributes

enum drm_mode_status(* tmds_char_rate_valid )(const struct drm_connector *connector, const struct drm_display_mode *mode, unsigned long long tmds_rate)
 
const struct drm_edid *(* read_edid )(struct drm_connector *connector)
 
struct drm_connector_infoframe_funcs avi
 
struct drm_connector_infoframe_funcs hdmi
 
struct drm_connector_infoframe_funcs audio
 
struct drm_connector_infoframe_funcs hdr_drm
 
struct drm_connector_infoframe_funcs spd
 

Detailed Description

struct drm_connector_hdmi_funcs - drm_hdmi_connector control functions

Member Data Documentation

◆ audio

struct drm_connector_infoframe_funcs drm_connector_hdmi_funcs::audio

@audio:

Set of callbacks for handling the Audio InfoFrame. These callbacks are optional, but they are required for drivers which use drm_atomic_helper_connector_hdmi_update_audio_infoframe().

◆ avi

struct drm_connector_infoframe_funcs drm_connector_hdmi_funcs::avi

@avi:

Set of callbacks for handling the AVI InfoFrame. These callbacks are mandatory.

◆ hdmi

struct drm_connector_infoframe_funcs drm_connector_hdmi_funcs::hdmi

@hdmi:

Set of callbacks for handling the HDMI Vendor-Specific InfoFrame. These callbacks are mandatory.

◆ hdr_drm

struct drm_connector_infoframe_funcs drm_connector_hdmi_funcs::hdr_drm

@hdr_drm:

Set of callbacks for handling the HDR DRM InfoFrame. These callbacks are mandatory if HDR output is to be supported.

◆ read_edid

const struct drm_edid *(* drm_connector_hdmi_funcs::read_edid) (struct drm_connector *connector)

@read_edid:

This callback is used by the framework as a replacement for reading the EDID from connector->ddc. It is still recommended to provide connector->ddc instead of implementing this callback. Returned EDID should be freed via the drm_edid_free().

The @read_edid callback is optional.

Returns: Valid EDID on success, NULL in case of failure.

◆ spd

struct drm_connector_infoframe_funcs drm_connector_hdmi_funcs::spd

@spd:

Set of callbacks for handling the SPD InfoFrame. These callbacks are optional.

◆ tmds_char_rate_valid

enum drm_mode_status(* drm_connector_hdmi_funcs::tmds_char_rate_valid) (const struct drm_connector *connector, const struct drm_display_mode *mode, unsigned long long tmds_rate)

@tmds_char_rate_valid:

This callback is invoked at atomic_check time to figure out whether a particular TMDS character rate is supported by the driver.

The @tmds_char_rate_valid callback is optional.

Returns:

Either &drm_mode_status.MODE_OK or one of the failure reasons in &enum drm_mode_status.


The documentation for this struct was generated from the following file: