[Bug 98797] [BXT/KBL] - HDMI - HD audio passthrough dont work
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Aug 11 14:44:35 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=98797
--- Comment #94 from Jani Nikula <jani.nikula at intel.com> ---
And for Friday lols, a complete shot in the dark:
diff --git a/drivers/gpu/drm/i915/intel_audio.c
b/drivers/gpu/drm/i915/intel_audio.c
index d805b6e6fe71..49e3847fcb01 100644
--- a/drivers/gpu/drm/i915/intel_audio.c
+++ b/drivers/gpu/drm/i915/intel_audio.c
@@ -608,8 +608,13 @@ void intel_audio_codec_enable(struct intel_encoder
*intel_encoder,
/* ELD Conn_Type */
connector->eld[5] &= ~(3 << 2);
- if (intel_crtc_has_dp_encoder(crtc_state))
- connector->eld[5] |= (1 << 2);
+ if (intel_crtc_has_dp_encoder(crtc_state)) {
+ struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
+ struct intel_lspcon *lspcon = dp_to_lspcon(intel_dp);
+
+ if (!lspcon->active)
+ connector->eld[5] |= (1 << 2);
+ }
connector->eld[6] = drm_av_sync_delay(connector, adjusted_mode) / 2;
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170811/c4e15af8/attachment.html>
More information about the intel-gfx-bugs
mailing list