<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#c93">Comment # 93</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:jani.nikula@intel.com" title="Jani Nikula <jani.nikula@intel.com>"> <span class="fn">Jani Nikula</span></a>
</span></b>
        <pre>(In reply to chrisk2305 from <a href="show_bug.cgi?id=98797#c92">comment #92</a>)
<span class="quote">> It is proven in this thread:
> <a href="https://forum.kodi.tv/showthread.php?tid=270298&page=95">https://forum.kodi.tv/showthread.php?tid=270298&page=95</a>

> All Windows Users can use HD Audio passthrough via the HDMI 2.0 (LSPCON)
> with FW 1.66.</span >

I'll take your word for it, rather than go through 95 pages of forums... ugh.

---

Random debug note: We don't consider audio bandwidth requirements for link
training, only video mode. If the video mode just barely fits in the link, I
think it'll impact audio.

Quick hack to try:

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 76c8a0bd17f9..983e78b4dc18 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1713,6 +1713,9 @@ intel_dp_compute_config(struct intel_encoder *encoder,
                min_clock = max_clock;
        }

+       min_lane_count = max_lane_count;
+       min_clock = max_clock;
+
        for (; bpp >= 6*3; bpp -= 2*3) {
                mode_rate = intel_dp_link_required(adjusted_mode->crtc_clock,
                                                   bpp);</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>