From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) Date: Wed, 09 Aug 2017 19:29:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1776315320==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 73D3489EBB for ; Wed, 9 Aug 2017 19:29:14 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1776315320== Content-Type: multipart/alternative; boundary="15023069541.1cA3.19949"; charset="UTF-8" --15023069541.1cA3.19949 Date: Wed, 9 Aug 2017 19:29:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101900 --- Comment #6 from Alex Deucher --- Here's the relevant ALSA code: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sou= nd/pci/hda/hda_eld.c https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sou= nd/pci/hda/patch_hdmi.c The display driver parses the audio capabilities of the monitor and then pa= sses that information to the audio driver via a shared structure called the ELD.= =20 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 au= dio descriptors from the monitor into registers that are shared between the aud= io hardware and the display hardware. The audio driver then parses these registers and generated and ELD which is used by the audio driver to determ= ine what audio modes are supported by the display. See snd_hdmi_get_eld_ati().= =20 See patch_atihdmi() for how the streams are set up on the audio side. --=20 You are receiving this mail because: You are the assignee for the bug.= --15023069541.1cA3.19949 Date: Wed, 9 Aug 2017 19:29:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 6 on bug 10190= 0 from Alex Deucher
Here's the relevant ALSA code:
https://git.kernel.org/pub/scm/linux/kerne=
l/git/torvalds/linux.git/tree/sound/pci/hda/hda_eld.c
https://git.kernel.org/pub/scm/linux/ke=
rnel/git/torvalds/linux.git/tree/sound/pci/hda/patch_hdmi.c
The display driver parses the audio capabilities of the monitor and then pa=
sses
that information to the audio driver via a shared structure called the ELD.=
=20
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 au=
dio
descriptors from the monitor into registers that are shared between the aud=
io
hardware and the display hardware.  The audio driver then parses these
registers and generated and ELD which is used by the audio driver to determ=
ine
what audio modes are supported by the display.  See snd_hdmi_get_eld_ati().=
=20
See patch_atihdmi() for how the streams are set up on the audio side.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15023069541.1cA3.19949-- --===============1776315320== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1776315320==--