Commit 4f07854d authored by Wang Xingchao's avatar Wang Xingchao Committed by Daniel Vetter

drm/i915: write eld info for HDMI audio

HDMI audio related registers will be configured in write_eld callback.
Signed-off-by: default avatarWang Xingchao <xingchao.wang@intel.com>
Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 9a78b6cc
...@@ -713,8 +713,12 @@ void intel_ddi_mode_set(struct drm_encoder *encoder, ...@@ -713,8 +713,12 @@ void intel_ddi_mode_set(struct drm_encoder *encoder,
/* Proper support for digital audio needs a new logic and a new set /* Proper support for digital audio needs a new logic and a new set
* of registers, so we leave it for future patch bombing. * of registers, so we leave it for future patch bombing.
*/ */
DRM_DEBUG_DRIVER("HDMI audio on pipe %c not yet supported on DDI\n", DRM_DEBUG_DRIVER("HDMI audio on pipe %c on DDI\n",
pipe_name(intel_crtc->pipe)); pipe_name(intel_crtc->pipe));
/* write eld */
DRM_DEBUG_DRIVER("HDMI audio: write eld information\n");
intel_write_eld(encoder, adjusted_mode);
} }
/* Enable PIPE_DDI_FUNC_CTL for the pipe to work in HDMI mode */ /* Enable PIPE_DDI_FUNC_CTL for the pipe to work in HDMI mode */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment