提交 79436a1c 编写于 作者: J Jani Nikula
上级 d471ed04
...@@ -3841,7 +3841,7 @@ static void clear_eld(struct drm_connector *connector) ...@@ -3841,7 +3841,7 @@ static void clear_eld(struct drm_connector *connector)
connector->audio_latency[1] = 0; connector->audio_latency[1] = 0;
} }
/** /*
* drm_edid_to_eld - build ELD from EDID * drm_edid_to_eld - build ELD from EDID
* @connector: connector corresponding to the HDMI/DP sink * @connector: connector corresponding to the HDMI/DP sink
* @edid: EDID to parse * @edid: EDID to parse
...@@ -3849,7 +3849,7 @@ static void clear_eld(struct drm_connector *connector) ...@@ -3849,7 +3849,7 @@ static void clear_eld(struct drm_connector *connector)
* Fill the ELD (EDID-Like Data) buffer for passing to the audio driver. The * Fill the ELD (EDID-Like Data) buffer for passing to the audio driver. The
* HDCP and Port_ID ELD fields are left for the graphics driver to fill in. * HDCP and Port_ID ELD fields are left for the graphics driver to fill in.
*/ */
void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid) static void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid)
{ {
uint8_t *eld = connector->eld; uint8_t *eld = connector->eld;
u8 *cea; u8 *cea;
...@@ -3934,7 +3934,6 @@ void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid) ...@@ -3934,7 +3934,6 @@ void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid)
DRM_DEBUG_KMS("ELD size %d, SAD count %d\n", DRM_DEBUG_KMS("ELD size %d, SAD count %d\n",
drm_eld_size(eld), total_sad_count); drm_eld_size(eld), total_sad_count);
} }
EXPORT_SYMBOL(drm_edid_to_eld);
/** /**
* drm_edid_to_sad - extracts SADs from EDID * drm_edid_to_sad - extracts SADs from EDID
......
...@@ -333,7 +333,6 @@ struct drm_encoder; ...@@ -333,7 +333,6 @@ struct drm_encoder;
struct drm_connector; struct drm_connector;
struct drm_display_mode; struct drm_display_mode;
void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid);
int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads); int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads);
int drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb); int drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb);
int drm_av_sync_delay(struct drm_connector *connector, int drm_av_sync_delay(struct drm_connector *connector,
......
...@@ -801,9 +801,6 @@ struct drm_connector_helper_funcs { ...@@ -801,9 +801,6 @@ struct drm_connector_helper_funcs {
* resolution can call drm_add_modes_noedid(), and mark the preferred * resolution can call drm_add_modes_noedid(), and mark the preferred
* one using drm_set_preferred_mode(). * one using drm_set_preferred_mode().
* *
* Finally drivers that support audio probably want to update the ELD
* data, too, using drm_edid_to_eld().
*
* This function is only called after the @detect hook has indicated * This function is only called after the @detect hook has indicated
* that a sink is connected and when the EDID isn't overridden through * that a sink is connected and when the EDID isn't overridden through
* sysfs or the kernel commandline. * sysfs or the kernel commandline.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册