<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101900#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101900">bug 101900</a>
              from <span class="vcard"><a class="email" href="mailto:alexdeucher@gmail.com" title="Alex Deucher <alexdeucher@gmail.com>"> <span class="fn">Alex Deucher</span></a>
</span></b>
        <pre>Here's the relevant ALSA code:
<a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/pci/hda/hda_eld.c">https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/pci/hda/hda_eld.c</a>
<a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/pci/hda/patch_hdmi.c">https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/pci/hda/patch_hdmi.c</a>
The display driver parses the audio capabilities of the monitor and then passes
that information to the audio driver via a shared structure called the ELD. 
AMD hardware doeswn't use an ELD directly since display audio support on AMD
hardware pre-dated ELD.  Instead, the display driver writes fills in the audio
descriptors from the monitor into registers that are shared between the audio
hardware and the display hardware.  The audio driver then parses these
registers and generated and ELD which is used by the audio driver to determine
what audio modes are supported by the display.  See snd_hdmi_get_eld_ati(). 
See patch_atihdmi() for how the streams are set up on the audio side.</pre>
        </div>
      </p>


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

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>