From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107835] DisplayPort audio stopped working in a kernel upgrade Date: Wed, 05 Sep 2018 10:29:44 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0125209058==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 277A089D7C for ; Wed, 5 Sep 2018 10:29:44 +0000 (UTC) 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 --===============0125209058== Content-Type: multipart/alternative; boundary="15361433840.129f.5937" Content-Transfer-Encoding: 7bit --15361433840.129f.5937 Date: Wed, 5 Sep 2018 10:29:44 +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=3D107835 Bug ID: 107835 Summary: DisplayPort audio stopped working in a kernel upgrade Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: bugs@benmorris.org.uk In a recent kernel upgrade, my DisplayPort audio output stopped working. PulseAudio showed no available profiles for the device, while aplay appeare= d to work normally but produced no sound. I'm running Debian Unstable, and I hav= e a Radeon RX 470. I have bisected (in linux-stable), and narrowed down the start of the probl= em to this commit: commit 9168c089a2122606e2c01f6fbeda85ff950ac189 (HEAD, refs/bisect/bad) Author: Alex Deucher Date: Tue Jul 10 12:56:45 2018 -0500 Revert "drm/amd/display: Don't return ddc result and read_bytes in same return value" commit 5292221d6ddfed75e5b46cd42237a677094b99f3 upstream. This reverts commit 018d82e5f02ef3583411bcaa4e00c69786f46f19. This breaks DDC in certain cases. Revert for 4.18 and previous kernels. For 4.19, this is fixed with the following more extensive patches: drm/amd/display: Serialize is_dp_sink_present drm/amd/display: Break out function to simply read aux reply drm/amd/display: Return aux replies directly to DRM drm/amd/display: Right shift AUX reply value sooner than later drm/amd/display: Read AUX channel even if only status byte is returned Link: https://lists.freedesktop.org/archives/amd-gfx/2018-July/023788.h= tml Acked-by: Harry Wentland Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman I have tried kernel 4.19-rc2, and, as suggested in the commit message, the audio problem does indeed seem to be resolved in 4.19. I have never seen the stacktrace associated with the same commit at https://bugzilla.kernel.org/show_bug.cgi?id=3D200667 --=20 You are receiving this mail because: You are the assignee for the bug.= --15361433840.129f.5937 Date: Wed, 5 Sep 2018 10:29:44 +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
Bug ID 107835
Summary DisplayPort audio stopped working in a kernel upgrade
Product DRI
Version unspecified
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter bugs@benmorris.org.uk

In a recent kernel upgrade, my DisplayPort audio output stoppe=
d working.
PulseAudio showed no available profiles for the device, while aplay appeare=
d to
work normally but produced no sound. I'm running Debian Unstable, and I hav=
e a
Radeon RX 470.

I have bisected (in linux-stable), and narrowed down the start of the probl=
em
to this commit:

commit 9168c089a2122606e2c01f6fbeda85ff950ac189 (HEAD, refs/bisect/bad)
Author: Alex Deucher <a=
lexander.deucher@amd.com>
Date:   Tue Jul 10 12:56:45 2018 -0500

    Revert "drm/amd/display: Don't return ddc result and read_bytes in=
 same
return value"

    commit 5292221d6ddfed75e5b46cd42237a677094b99f3 upstream.

    This reverts commit 018d82e5f02ef3583411bcaa4e00c69786f46f19.

    This breaks DDC in certain cases.  Revert for 4.18 and previous kernels.
    For 4.19, this is fixed with the following more extensive patches:
    drm/amd/display: Serialize is_dp_sink_present
    drm/amd/display: Break out function to simply read aux reply
    drm/amd/display: Return aux replies directly to DRM
    drm/amd/display: Right shift AUX reply value sooner than later
    drm/amd/display: Read AUX channel even if only status byte is returned

    Link: https://lists.freedesktop.org/archives/amd-gfx/2018-July/02=
3788.html
    Acked-by: Harry Wentland <harry.wentland@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kerne=
l.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>


I have tried kernel 4.19-rc2, and, as suggested in the commit message, the
audio problem does indeed seem to be resolved in 4.19.

I have never seen the stacktrace associated with the same commit at
https://bu=
gzilla.kernel.org/show_bug.cgi?id=3D200667


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