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) and static noise in sound when LPCM
Date: Fri, 12 Jan 2018 18:50:26 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1321955057=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 3E4C16E547
for ; Fri, 12 Jan 2018 18:50:26 +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
--===============1321955057==
Content-Type: multipart/alternative; boundary="15157830263.Ec2B.1648"
Content-Transfer-Encoding: 7bit
--15157830263.Ec2B.1648
Date: Fri, 12 Jan 2018 18:50:26 +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 #25 from Direx ---
The printks indeed only show up when the computer boots or when the display
comes back from DPMS. I don't get any printks when playing audio streams.
(In reply to Alex Deucher from comment #24)
> Can you see what channels is set to in dce110_se_audio_setup() in
> dce_stream_encoder.c? Does forcing it to 0xff help?
Ok, here's my change:
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
index e42b6eb1c1f0..19befbf594c2 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
@@ -1320,6 +1320,9 @@ static void dce110_se_audio_setup(
speakers =3D audio_info->flags.info.ALLSPEAKERS;
channels =3D speakers_to_channels(audio_info->flags.speaker_flags).=
all;
+ printk(KERN_WARNING "hbrlog: channels set to %d, forcing 0xff", channe=
ls);
+ channels =3D 0xff;
+
/* setup the audio stream source select (audio -> dig mapping) */
REG_SET(AFMT_AUDIO_SRC_CONTROL, 0, AFMT_AUDIO_SRC_SELECT, az_inst);
And that's what I get in dmesg:
[ 10.920144] hbrlog: channels set to 255, forcing 0xff
-> So unfortunately no change here.
//BTW: my DP monitor is reporting 3 channels, which also sounds good to me
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15157830263.Ec2B.1648
Date: Fri, 12 Jan 2018 18:50:26 +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
Comme=
nt # 25
on bug 10190=
0
from Direx
The printks indeed only show up when the computer boots or whe=
n the display
comes back from DPMS. I don't get any printks when playing audio streams.
(In reply to Alex Deucher from com=
ment #24)
> Can you see what channels is set to in dce110_se=
_audio_setup() in
> dce_stream_encoder.c? Does forcing it to 0xff help?
Ok, here's my change:
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
index e42b6eb1c1f0..19befbf594c2 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
@@ -1320,6 +1320,9 @@ static void dce110_se_audio_setup(
speakers =3D audio_info->flags.info.ALLSPEAKERS;
channels =3D speakers_to_channels(audio_info->flags.speaker_flag=
s).all;
+ printk(KERN_WARNING "hbrlog: channels set to %d, forcing 0xff&quo=
t;, channels);
+ channels =3D 0xff;
+
/* setup the audio stream source select (audio -> dig mapping) */
REG_SET(AFMT_AUDIO_SRC_CONTROL, 0, AFMT_AUDIO_SRC_SELECT, az_inst);
And that's what I get in dmesg:
[ 10.920144] hbrlog: channels set to 255, forcing 0xff
-> So unfortunately no change here.
//BTW: my DP monitor is reporting 3 channels, which also sounds good to me<=
/pre>
You are receiving this mail because:
- You are the assignee for the bug.
=
--15157830263.Ec2B.1648--
--===============1321955057==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1321955057==--