<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [BXT/KBL] - HDMI - HD audio passthrough dont work"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98797#c98">Comment # 98</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [BXT/KBL] - HDMI - HD audio passthrough dont work"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98797">bug 98797</a>
              from <span class="vcard"><a class="email" href="mailto:qwerty0987654321@mail.ru" title="Igor Mammedov <qwerty0987654321@mail.ru>"> <span class="fn">Igor Mammedov</span></a>
</span></b>
        <pre>(In reply to Jani Nikula from <a href="show_bug.cgi?id=98797#c94">comment #94</a>)
<span class="quote">> And for Friday lols, a complete shot in the dark:

> diff --git a/drivers/gpu/drm/i915/intel_audio.c
> b/drivers/gpu/drm/i915/intel_audio.c
> index d805b6e6fe71..49e3847fcb01 100644
> --- a/drivers/gpu/drm/i915/intel_audio.c
> +++ b/drivers/gpu/drm/i915/intel_audio.c
> @@ -608,8 +608,13 @@ void intel_audio_codec_enable(struct intel_encoder
> *intel_encoder,
>  
>         /* ELD Conn_Type */
>         connector->eld[5] &= ~(3 << 2);
> -       if (intel_crtc_has_dp_encoder(crtc_state))
> -               connector->eld[5] |= (1 << 2);
> +       if (intel_crtc_has_dp_encoder(crtc_state)) {
> +               struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
> +               struct intel_lspcon *lspcon = dp_to_lspcon(intel_dp);
> +
> +               if (!lspcon->active)
> +                       connector->eld[5] |= (1 << 2);
> +       }
>  
>         connector->eld[6] = drm_av_sync_delay(connector, adjusted_mode) / 2;</span >
it doesn't help (applied both <a href="show_bug.cgi?id=98797#c93">comment 93</a> and this patch)

one observation:
  lspcon->active = 1 when using onboard HDMI2.0
  lspcon->active = 0 when using DP->HDMI2.0 cable

in both cases cables were connected to HDMI1.4b input on AVR.</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>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>