From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) and static noise in sound when LPCM on amdgpu Xorg driver
Date: Sun, 04 Mar 2018 21:48:07 +0000 [thread overview]
Message-ID: <bug-101900-502-GzOOaXHRD5@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-101900-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 1290 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=101900
--- Comment #31 from Andrew Nelson <andrew.s.nelson@gmail.com> ---
I have been running into the same issue. The problem seems to be that AMDGPU is
reporting that it supports 7 speakers instead of 8 in the EID. HBR formats work
with 5.1 encoded audio, but not 7.1. For some reason, the driver is configured
to subtract 1 from the channel count before passing it into the EID. I have
removed this and confirmed that 7.1 HBR audio works. Patch below:
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
index 8bfb4577b4d5..5dcc685a1379 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
@@ -557,7 +557,7 @@ void dce_aud_az_configure(
/* fill audio format data */
set_reg_field_value(value,
- audio_mode->channel_count - 1,
+ audio_mode->channel_count,
AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0,
MAX_CHANNELS);
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2281 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2018-03-04 21:48 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-24 15:38 [Bug 101900] No HDMI audio on Polaris bugzilla-daemon
2017-07-24 15:39 ` bugzilla-daemon
2017-07-25 13:13 ` bugzilla-daemon
2017-07-25 18:56 ` [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) bugzilla-daemon
2017-08-09 19:16 ` bugzilla-daemon
2017-08-09 19:21 ` bugzilla-daemon
2017-08-09 19:29 ` bugzilla-daemon
2017-08-10 17:38 ` bugzilla-daemon
2017-08-10 18:04 ` bugzilla-daemon
2017-09-17 16:33 ` bugzilla-daemon
2017-10-12 21:49 ` bugzilla-daemon
2017-10-13 20:06 ` bugzilla-daemon
2017-12-05 9:52 ` bugzilla-daemon
2017-12-05 14:31 ` bugzilla-daemon
2017-12-05 14:33 ` bugzilla-daemon
2017-12-05 14:41 ` bugzilla-daemon
2017-12-07 9:01 ` [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) and static noise in sound when LPCM bugzilla-daemon
2017-12-19 16:10 ` bugzilla-daemon
2017-12-22 9:42 ` bugzilla-daemon
2017-12-22 13:31 ` bugzilla-daemon
2017-12-29 0:06 ` bugzilla-daemon
2018-01-11 21:09 ` bugzilla-daemon
2018-01-12 11:48 ` bugzilla-daemon
2018-01-12 14:04 ` bugzilla-daemon
2018-01-12 17:53 ` bugzilla-daemon
2018-01-12 17:55 ` bugzilla-daemon
2018-01-12 18:50 ` bugzilla-daemon
2018-01-21 19:43 ` bugzilla-daemon
2018-01-21 19:44 ` [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) bugzilla-daemon
2018-01-22 9:14 ` bugzilla-daemon
2018-01-22 9:15 ` [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) and static noise in sound when LPCM on amdgpu Xorg driver bugzilla-daemon
2018-01-22 9:55 ` bugzilla-daemon
2018-01-23 17:29 ` bugzilla-daemon
2018-01-23 17:33 ` bugzilla-daemon
2018-03-04 21:48 ` bugzilla-daemon [this message]
2018-03-05 18:45 ` bugzilla-daemon
2018-03-07 10:44 ` bugzilla-daemon
2018-03-07 18:53 ` bugzilla-daemon
2018-03-07 19:23 ` bugzilla-daemon
2018-03-07 19:40 ` bugzilla-daemon
2018-03-07 19:40 ` bugzilla-daemon
2018-03-07 20:39 ` bugzilla-daemon
2018-04-24 19:05 ` bugzilla-daemon
2018-06-26 9:27 ` bugzilla-daemon
2018-06-26 14:39 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-101900-502-GzOOaXHRD5@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox