[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 at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jan 12 18:50:26 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=101900
--- Comment #25 from Direx <direx at betriebsdirektor.de> ---
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 = 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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180112/a25664ab/attachment.html>
More information about the dri-devel
mailing list