This commit fixes the issue: commit 2d8f63297b9f0b430c96329893667c0bfdcbd47e Author: Jani Nikula <jani.nik...@intel.com> Date: Tue Sep 19 18:38:13 2017 +0300
drm/i915: always update ELD connector type after get modes drm_edid_to_eld() initializes the connector ELD to zero, overwriting the ELD connector type initialized in intel_audio_codec_enable(). If userspace does getconnector and thus get_modes after modeset, a subsequent audio component i915_audio_component_get_eld() call will receive an ELD without the connector type properly set. It's fine for HDMI, but screws up audio for DP. Always set the ELD connector type at intel_connector_update_modes() based on the connector type. We can drop the connector type update from intel_audio_codec_enable(). Credits to Joseph Nuzman <jnuz...@gmail.com> for figuring this out. Cc: Ville Syrjälä <ville.syrj...@linux.intel.com> Cc: Joseph Nuzman <jnuz...@gmail.com> Reported-by: Joseph Nuzman <jnuz...@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101583 Reviewed-by: Ville Syrjälä <ville.syrj...@linux.intel.com> Tested-by: Joseph Nuzman <jnuz...@gmail.com> Cc: sta...@vger.kernel.org # v4.10+, maybe earlier Signed-off-by: Jani Nikula <jani.nik...@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170919153813.29808-1-jani.nik...@intel.com (cherry picked from commit d81fb7fd9436e81fda67e5bc8ed0713aa28d3db2) Signed-off-by: Rodrigo Vivi <rodrigo.v...@intel.com> It has "Cc: sta...@vger.kernel.org" so it'll get pulled into Ubuntu's kernel. ** Bug watch added: freedesktop.org Bugzilla #101583 https://bugs.freedesktop.org/show_bug.cgi?id=101583 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1709708 Title: [Intel Broxton HDMI, Digital Out, HDMI] Pulseaudio detects output but produces no sound on an HDMI TV until power cycled. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1709708/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs