<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) and static noise in sound when LPCM"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101900#c25">Comment # 25</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) and static noise in sound when LPCM"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101900">bug 101900</a>
from <span class="vcard"><a class="email" href="mailto:direx@betriebsdirektor.de" title="Direx <direx@betriebsdirektor.de>"> <span class="fn">Direx</span></a>
</span></b>
<pre>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 <a href="show_bug.cgi?id=101900#c24">comment #24</a>)
<span class="quote">> Can you see what channels is set to in dce110_se_audio_setup() in
> dce_stream_encoder.c? Does forcing it to 0xff help?</span >
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 = audio_info->flags.info.ALLSPEAKERS;
channels = speakers_to_channels(audio_info->flags.speaker_flags).all;
+ printk(KERN_WARNING "hbrlog: channels set to %d, forcing 0xff", channels);
+ channels = 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>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>