<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [KBL] intel NUC6CAYH no LSPCON HDMI audio output"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101583#c33">Comment # 33</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [KBL] intel NUC6CAYH no LSPCON HDMI audio output"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101583">bug 101583</a>
from <span class="vcard"><a class="email" href="mailto:jnuzman@gmail.com" title="Joseph Nuzman <jnuzman@gmail.com>"> <span class="fn">Joseph Nuzman</span></a>
</span></b>
<pre>(In reply to Jani Nikula from <a href="show_bug.cgi?id=101583#c32">comment #32</a>)
<span class="quote">> The original reason for that has been clear all along: With LSPCON the port
> looks like DP to the driver, but the ELD comes all the way from the display,
> which is HDMI.
>
> So I didn't track down all the paths in your description or your patch, but
> is this really not enough:
>
> <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [BXT/KBL] - HDMI - HD audio passthrough dont work"
href="show_bug.cgi?id=98797#c94">https://bugs.freedesktop.org/show_bug.cgi?id=98797#c94</a></span >
No. The ELD does not come directly from the display. The ELD is built from
the EDID by the drm_edid_to_eld routine. This routine explicitly clears the
conn_type field (effectively leaving the conn_type set as "HDMI", regardless of
the monitor).
The graphics driver is supposed to fill in the conn_type field. At least in my
setup, that is done correctly by the intel_audio_codec_enable routine. (It
sets conn_type of DP, as it is talking to the LSPCON.)
The problem is, after intel_audio_codec_enable sets the conn_type field, the
entire ELD is overwritten by subsequent invocations of drm_edid_to_eld. It is
this overwritten version of ELD that makes its way to the audio driver.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>