<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DisplayPort audio stopped working in a kernel upgrade"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107835">107835</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>DisplayPort audio stopped working in a kernel upgrade
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bugs@benmorris.org.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>In a recent kernel upgrade, my DisplayPort audio output stopped working.
PulseAudio showed no available profiles for the device, while aplay appeared to
work normally but produced no sound. I'm running Debian Unstable, and I have a
Radeon RX 470.

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

commit 9168c089a2122606e2c01f6fbeda85ff950ac189 (HEAD, refs/bisect/bad)
Author: Alex Deucher <<a href="mailto:alexander.deucher@amd.com">alexander.deucher@amd.com</a>>
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: <a href="https://lists.freedesktop.org/archives/amd-gfx/2018-July/023788.html">https://lists.freedesktop.org/archives/amd-gfx/2018-July/023788.html</a>
    Acked-by: Harry Wentland <<a href="mailto:harry.wentland@amd.com">harry.wentland@amd.com</a>>
    Signed-off-by: Alex Deucher <<a href="mailto:alexander.deucher@amd.com">alexander.deucher@amd.com</a>>
    Cc: <a href="mailto:stable@vger.kernel.org">stable@vger.kernel.org</a>
    Signed-off-by: Greg Kroah-Hartman <<a href="mailto:gregkh@linuxfoundation.org">gregkh@linuxfoundation.org</a>>


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
<a href="https://bugzilla.kernel.org/show_bug.cgi?id=200667">https://bugzilla.kernel.org/show_bug.cgi?id=200667</a></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>